Skip to content

Commit

Permalink
merge fixes and fix
Browse files Browse the repository at this point in the history
  • Loading branch information
王文璐 committed Feb 6, 2018
1 parent 5583bad commit 984c2c8
Show file tree
Hide file tree
Showing 10 changed files with 169 additions and 285 deletions.
12 changes: 12 additions & 0 deletions src/compiler/diagnosticMessages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3960,5 +3960,17 @@
"Convert to ES6 module": {
"category": "Message",
"code": 95017
},
"Add 'undefined' type to property '{0}'": {
"category": "Message",
"code": 95018
},
"Add initializer to property '{0}'": {
"category": "Message",
"code": 95019
},
"Add definite assignment assertion to property '{0}'": {
"category": "Message",
"code": 95020
}
}
2 changes: 1 addition & 1 deletion src/compiler/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3775,7 +3775,7 @@ namespace ts {
return false;
}

export function getClassLikeDeclarationOfSymbol(symbol: Symbol): Declaration | undefined {
export function getClassLikeDeclarationOfSymbol(symbol: Symbol): ClassLikeDeclaration | undefined {
return find(symbol.declarations, isClassLike);
}

Expand Down

This file was deleted.

112 changes: 0 additions & 112 deletions src/services/codefixes/fixAddMissingPropertyInitializer.ts

This file was deleted.

56 changes: 0 additions & 56 deletions src/services/codefixes/fixAddMissingUndefinedType.ts

This file was deleted.

Loading

0 comments on commit 984c2c8

Please sign in to comment.