3070 Commits

Author SHA1 Message Date
Vladimir Matveev
2b10611fbf initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer (#14441)
initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer
2017-03-15 11:44:36 -07:00
Yui
940d165b0d Merge pull request #14212 from Microsoft/master-12989
[Master] Fix 12989:  completion in JSX opening-like element when tag name is a property access expression
2017-03-09 18:42:36 -08:00
Arthur Ozga
b7d09ef015 Make docComment template indent whitespace-only 2017-03-08 12:41:20 -08:00
Andy
6117ed7708 Merge pull request #14391 from Microsoft/lint_better
Update tslint to `latest` (`next` is still on 4.3) and lint for BOM
2017-03-07 11:41:55 -08:00
Andy
3295ca3c73 Merge pull request #14385 from Microsoft/path-completions
Move code from 'Completions' to 'PathCompletions' namespace
2017-03-06 09:11:44 -08:00
Andy Hanson
d58cfa238b Merge branch 'master' into lint_better 2017-03-06 06:20:48 -08:00
Andy
8bc21f9f68 Merge pull request #13597 from Microsoft/enum_member
Set ScriptElementKind for enum members to "enum member" instead of "const"
2017-03-03 07:35:22 -08:00
Andy Hanson
556e8c3845 Merge branch 'master' into enum_member 2017-03-03 07:04:40 -08:00
Andy Hanson
3bc125463b Add more missing semicolons 2017-03-03 07:00:52 -08:00
Andy Hanson
5f52549047 Merge branch 'master' into semicolon 2017-03-03 06:56:05 -08:00
Yui
5abb8f3caa Merge pull request #14371 from Microsoft/master-fix14254
[Master] Fix 14254: Return JsDoc tagName when there is no "@" sign prefix
2017-03-01 21:48:17 -08:00
Yui T
da51f39695 FIx minor stuffs 2017-03-01 21:11:34 -08:00
Kanchalai Tanglertsampan
b5c6221e36 Address PR 2017-03-01 17:46:35 -08:00
Arthur Ozga
e9fd831a9d Merge pull request #14140 from aozgaa/ImplementMissingThis
Implement Missing Property of Type `this`
2017-03-01 16:17:35 -08:00
Ron Buckton
a0271ef6c4 Merge pull request #14177 from ajafff/parent-type
Add specific types to parent property of Node interfaces
2017-03-01 13:27:45 -08:00
Arthur Ozga
207b7b0449 Merge branch 'ImplementMissingThis' of github.com:aozgaa/TypeScript into ImplementMissingThis 2017-03-01 10:42:11 -08:00
Andy
69060025ba Merge pull request #12352 from Microsoft/untyped_module_symbol
Use a symbol for untyped modules to distinguish from unknownSymbol
2017-03-01 10:38:47 -08:00
Andy Hanson
8371eb6401 Update tslint to latest (next is still on 4.3) and lint for BOM 2017-03-01 10:37:13 -08:00
Andy Hanson
0f50a5ffa7 Move code from 'Completions' to 'PathCompletions' namespace 2017-03-01 08:29:33 -08:00
Andy Hanson
5ea43c8ba3 Merge branch 'master' into semicolon 2017-03-01 08:09:59 -08:00
Arthur Ozga
5bcbd7aabc instantiate generic this param correctly 2017-02-28 19:35:15 -08:00
Kanchalai Tanglertsampan
e74df1e38b Remove unnecessary comment 2017-02-28 15:51:41 -08:00
Kanchalai Tanglertsampan
d6085f75c4 Return completions for JsDoc tagname even when there are no "@' sign prefix 2017-02-28 15:41:35 -08:00
Andy Hanson
7afee8c3ab Fix formatting 2017-02-28 07:55:25 -08:00
Andy Hanson
cc4a3a830f Add check for undefined declarations 2017-02-27 14:18:46 -08:00
andy-ms
c2f4b202a4 Add more specific return type for getTypeParameters() 2017-02-26 17:48:27 -08:00
Arthur Ozga
1c25034a18 instantiate generic this param correctly 2017-02-22 16:15:16 -08:00
Kanchalai Tanglertsampan
0290e20b8e Get completion of JSX attributes type when tag name is a property access expression 2017-02-21 10:54:28 -08:00
Klaus Meinhardt
6c9ba46e8b Fix compile errors 2017-02-19 22:03:32 +01:00
Arthur Ozga
2c3369e2a4 Merge branch 'master' into ImplementMissingThis 2017-02-17 14:25:00 -08:00
Arthur Ozga
33fc26cb9c Detect this type for codefix 2017-02-16 17:11:01 -08:00
Ron Buckton
6ff081fea6 Merge branch 'master' into publicTransformers 2017-02-16 14:33:01 -08:00
Arthur Ozga
8a5bebe4de Merge pull request #14097 from aozgaa/MissingPropertyFix
Missing property fix
2017-02-16 14:04:51 -08:00
Arthur Ozga
6e198f9c51 Merge branch 'master' into MissingPropertyFix 2017-02-16 13:40:27 -08:00
Arthur Ozga
1b6cf97766 widen type, index signature, and add tests 2017-02-16 13:37:35 -08:00
Andy Hanson
7fd711c81d Handle undefined import name 2017-02-16 13:10:03 -08:00
Ron Buckton
0f495fb694 Merge branch 'strictNullFactories' into publicTransformers 2017-02-16 12:41:58 -08:00
Arthur Ozga
cf3b4d6b00 cleanup 2017-02-15 15:15:09 -08:00
Arthur Ozga
9110461294 use getBaseTypeOfLiteralType 2017-02-15 14:24:25 -08:00
Nathan Shively-Sanders
1296f240c6 Merge pull request #14074 from Microsoft/error-on-decl-of-extends-intersection
Error when emitting the declaration for an exported class that extends an intersection
2017-02-15 13:43:51 -08:00
Yui
ca6f1c3a41 Merge pull request #13640 from Microsoft/wip-master-statelessOverload
Using overload to figure out function signature for SFC
2017-02-15 07:17:32 -08:00
Ron Buckton
23216f9ba1 Merge branch 'master' into genericDefaults 2017-02-14 19:19:18 -08:00
Arthur Ozga
92e4c6b7db Get Widened Type 2017-02-14 17:30:28 -08:00
Arthur Ozga
9897c69492 wip 2017-02-14 17:30:28 -08:00
Kanchalai Tanglertsampan
e5cfe5c348 Merge branch 'master' into wip-master-statelessOverload
# Conflicts:
#	src/compiler/factory.ts
2017-02-14 15:21:06 -08:00
Zhengbo Li
1f484a9a03 Merge pull request #13966 from zhengbli/13110
Delete the following new line when removing unused locals
2017-02-14 13:15:17 -08:00
Nathan Shively-Sanders
cd272e8244 Error on emit declaration of extends class w/o symbol
Error when emitting an extends clause for a type that has no symbol.
This error only occurs on exported classes.
This prevents the emitter from producing types that extend from
intersections, which are not parseable right now.
2017-02-14 12:42:32 -08:00
Andy
0417e3f909 Merge pull request #14050 from Microsoft/tsx_completion
Detect non-tag uses of `<` in TSX completions
2017-02-14 12:13:15 -08:00
Mohamed Hegazy
72877ed596 Merge pull request #14035 from Microsoft/findallrefs_keyword_definition
When performing find-all-refs for a keyword, use the first result as the definition.
2017-02-14 12:06:59 -08:00
Arthur Ozga
c57fc1fa54 Merge pull request #14055 from aozgaa/UnduplicateAbstractMethodCodeFix
Unduplicate missing abstract member codefix
2017-02-14 11:42:28 -08:00