Arthur Ozga
11019e4a4a
Merge branch 'master' into typeToStringViaTypeNode
2017-05-16 15:35:31 -07:00
Arthur Ozga
0820f69270
respond to comments
2017-05-16 15:28:32 -07:00
Klaus Meinhardt
5fb77a0901
Update return types of APIs ( #15887 )
...
* Update types.ts
* Update types in parser.ts and scanner.ts
2017-05-16 14:13:58 -07:00
Arthur Ozga
bba41a8a0c
avoid ascii escaping literal text
2017-05-15 18:42:49 -07:00
Arthur Ozga
20a4e32bec
parenthesization in factory
2017-05-15 10:19:00 -07:00
Ron Buckton
50e2912cd2
Merge pull request #15791 from Microsoft/fix13935
...
Adds CommaList to avoid large deeply nested comma expressions
2017-05-12 16:49:13 -07:00
Arthur Ozga
a32bc985bf
respond to comments
2017-05-12 16:27:35 -07:00
Arthur Ozga
62dbf12825
Merge branch 'master' into typeToStringViaTypeNode
2017-05-12 13:09:43 -07:00
Ron Buckton
22cf036ed9
Clean up naming, add documentation, flatten (some) nested commas
2017-05-12 09:57:39 -07:00
Ron Buckton
f45f7579fc
Adds CommaList to avoid large deeply nested comma expressions
2017-05-11 23:51:20 -07:00
Arthur Ozga
3640abd0a7
Remove unused flags
2017-05-11 18:59:40 -07:00
Arthur Ozga
0432257949
use EmitFlags.SingleLine
2017-05-11 18:39:40 -07:00
Arthur Ozga
c099938f61
move state to flags
2017-05-11 18:18:35 -07:00
Andy Hanson
5a4be34aaf
Merge branch 'master' into union-completion
2017-05-11 15:24:13 -07:00
Andy
7a64de3aa9
Merge pull request #15772 from Microsoft/getWidth
...
findAllReferences: Clean up uses of `getWidth` and `getStart`
2017-05-11 13:23:10 -07:00
Andy Hanson
6d6cdac645
Handle escaped identifiers
2017-05-11 12:22:10 -07:00
Arthur Ozga
ac6018aa95
type arguments in qualified names
2017-05-11 10:21:13 -07:00
Andy Hanson
f05a85d56f
Fix bug for goto-definition on a TSX constructor using an alias declaration
2017-05-10 15:49:40 -07:00
Mohamed Hegazy
8321b81124
Merge pull request #15714 from HerringtonDarkholme/lib
...
fix #15666 : mark file as optional in Diagnostic
2017-05-10 09:40:05 -07:00
Nathan Shively-Sanders
3768daeeca
Merge pull request #15594 from Microsoft/get-name-of-declaration-wrapper
...
Get name of declaration uniformly, even for JS-style assignment declarations.
2017-05-10 08:08:07 -07:00
Herrington Darkholme
1bbc94fc67
fix #15666 : mark file as optional in Diagnostic
2017-05-10 12:29:53 +08:00
Arthur Ozga
41452a5b21
add typeArguments to identifier
2017-05-09 18:20:46 -07:00
Nathan Shively-Sanders
157b777660
Unnamed nodes now extend Declaration, not NamedDeclaration
2017-05-09 10:46:47 -07:00
Nathan Shively-Sanders
370b5618a0
Merge branch 'master' into spelling-correction
2017-05-09 10:01:03 -07:00
Arthur Ozga
d9b68e9213
Type Literal and Binding Name formatting
2017-05-08 16:26:57 -07:00
Nathan Shively-Sanders
0080c5fd66
Merge branch 'master' into get-name-of-declaration-wrapper
...
This PR included a fix that I already checked in this morning.
2017-05-08 15:39:57 -07:00
Nathan Shively-Sanders
9392342f78
Switch to Declaration/NamedDeclaration hierarchy
2017-05-08 15:07:50 -07:00
Nathan Shively-Sanders
acec74b1af
Revert "Convert Declaration to union, not type hierarchy"
...
This reverts commit 573040f0cf .
2017-05-08 14:24:45 -07:00
Nathan Shively-Sanders
e81733b827
Revert "Fix lint"
...
This reverts commit b39c319f0c .
2017-05-08 14:17:11 -07:00
Nathan Shively-Sanders
dd94ad239a
Revert "Turn ClassElement and TypeElement into unions too"
...
This reverts commit 22f353ac94 .
2017-05-08 14:16:53 -07:00
Ron Buckton
47bd4d3a87
Merge pull request #15531 from Microsoft/moreFactoryFuncs
...
More factory functions
2017-05-08 12:05:05 -07:00
Arthur Ozga
965b98f6cb
UseFullyQualifiedType
2017-05-08 11:10:47 -07:00
Andy Hanson
9e03d42fda
In addStringLiteralCompletionsFromType, use getBaseConstraintOfType instead of getApparentType
2017-05-08 10:33:48 -07:00
Nathan Shively-Sanders
22f353ac94
Turn ClassElement and TypeElement into unions too
...
Slows down compilation another 3%, so I'm not sure we'll want to take
this change.
2017-05-08 09:35:21 -07:00
Arthur Ozga
a1d2049c29
convert type format flags
2017-05-05 14:48:20 -07:00
Nathan Shively-Sanders
b39c319f0c
Fix lint
2017-05-05 13:48:45 -07:00
Nathan Shively-Sanders
573040f0cf
Convert Declaration to union, not type hierarchy
2017-05-05 13:47:28 -07:00
Nathan Shively-Sanders
4303a294f9
Merge pull request #15537 from Microsoft/emit-declaration-of-class-extending-intersection
...
Emit declaration of class extending intersection
2017-05-05 08:32:56 -07:00
Nathan Shively-Sanders
efe502e609
Address PR comments
2017-05-04 17:04:37 -07:00
Nathan Shively-Sanders
d35f6c3581
getNameOfDeclaration uniformly, including JS decls
...
JS-style assignment declarations have a name, but it's not stored on the
name property of the BinaryExpression. This commit adds
`getNameOfDeclaration` to uniformly get the name of a declaration.
It also reworks the declaration of `Declaration` so that accessing
`name` is an error unless the type does *not* include
BinaryExpression.
2017-05-04 16:12:54 -07:00
Arthur Ozga
384d54603f
Basic parens handling and stubbed TypeFormatFlags
2017-05-04 15:27:50 -07:00
Ron Buckton
500dd16bc1
Merge pull request #15590 from Microsoft/fix15471
...
Add check for tslib __await helper
2017-05-04 13:59:54 -07:00
Ron Buckton
cbeb11eabf
Add check for tslib __await helper
2017-05-04 13:13:10 -07:00
Nathan Shively-Sanders
9eaf40bded
Merge branch 'master' into spelling-correction
2017-05-03 15:34:32 -07:00
Andy Hanson
e12b708221
For completions of union type, get all possible properties
2017-05-02 15:38:15 -07:00
Ron Buckton
981956af7a
Merge branch 'master' into moreFactoryFuncs
2017-05-01 18:02:18 -07:00
Arthur Ozga
2150a7796b
Merge pull request #15261 from aozgaa/moduleReuse
...
Reuse Module Resolutions from Unchanged Files
2017-05-01 17:49:44 -07:00
Arthur Ozga
df3630b92c
reorder enum
2017-05-01 16:37:18 -07:00
Ron Buckton
d37426d865
Fill out remaining factory functions
2017-05-01 13:40:47 -07:00
Nathan Shively-Sanders
2345ecdcb8
Suggest spelling for unknown symbols + properties
2017-05-01 11:35:56 -07:00