Anders Hejlsberg
d4c9f24577
Intersections of disjoint types become never upon construction
2019-06-09 07:46:13 -07:00
Yoshiki Shibukawa and GitHub
24a2ed7d83
Fix es2019.string.d.ts
...
trimLeft and trimRight's comments are swapped.
2019-06-09 08:43:38 +09:00
Sheetal Nandi
2fd80b3142
When resolving from typings cache, handle node code modules
...
Fixes #29865
2019-06-07 16:21:39 -07:00
Sheetal Nandi
6ed8aae683
Test when node typings dont get added on subsequent update graph because of invalid typing
...
Test for #29865
2019-06-07 16:19:56 -07:00
Sheetal Nandi
a6c72a0cf3
Do not watch tsconfig files from folders that we canot watch
...
Fixes #30818
2019-06-07 12:10:21 -07:00
Anders Hejlsberg
4856768212
Merge branch 'master' into wideningInAccessExpressions
2019-06-07 11:52:24 -07:00
Anders Hejlsberg
69706bd064
Merge branch 'master' into wideningInAccessExpressions
2019-06-07 10:54:39 -07:00
gb714us
7acca501b6
create outlining span for JsxFragment
2019-06-07 03:48:19 -07:00
Andrew Branch and GitHub
53467ae4a4
Revert "Move class property transformation into new transformer. ( #30467 )"
...
This reverts commit 3139cf2f85 .
2019-06-06 17:40:02 -07:00
Nathan Shively-Sanders
bdf8d5c8cb
Update DOM and baselines
2019-06-06 15:13:16 -07:00
Anders Hejlsberg and GitHub
4ae3a54ba6
Merge pull request #31784 from microsoft/numericEnumMappedType
...
Numeric enums as key types in mapped types
2019-06-06 15:00:19 -07:00
Sheetal Nandi
a84ed93f72
Merge branch 'master' into definitionSpan
2019-06-06 14:13:09 -07:00
Sheetal Nandi
a67b375d0e
Handle module specifiers
2019-06-06 13:39:04 -07:00
Anders Hejlsberg
ddc742c40c
Minor fix
2019-06-06 13:33:18 -07:00
Anders Hejlsberg
13557299e9
Consistent widening in property and element access expressions
2019-06-06 12:45:56 -07:00
Sheetal Nandi
a120c59015
Handle Lable
2019-06-06 12:04:48 -07:00
Sheetal Nandi
768c9ed8d7
Handle jsx Opening, Closing and Self closing tags
2019-06-06 11:48:45 -07:00
Andrew Branch
b37875ff7a
Detect semicolons in file before writing quick fixes
2019-06-06 10:49:09 -07:00
Sheetal Nandi
edad317395
Fourslash server tests
2019-06-06 10:41:33 -07:00
Sheetal Nandi
e4a2dd510f
Handle export keyword of export assignment
2019-06-06 09:09:39 -07:00
Joey Watts and Ron Buckton
3139cf2f85
Move class property transformation into new transformer. ( #30467 )
...
Signed-off-by: Joseph Watts <jwatts43@bloomberg.net >
2019-06-05 22:24:25 -07:00
Anders Hejlsberg
5ad46b180b
Fix minor issue
2019-06-05 16:53:42 -07:00
Sheetal Nandi
1163a93ed6
Handle default keyword of default export
2019-06-05 16:35:29 -07:00
Anders Hejlsberg
2e99438edc
Handle numeric enums in mapped types + fix obscure crash
2019-06-05 14:57:18 -07:00
Sheetal Nandi
d1dc837353
Cache ranges by text
2019-06-05 14:44:19 -07:00
Sheetal Nandi
6dc2ba7939
Take optional string of range text for singleReferenceGroup
2019-06-05 14:43:22 -07:00
Wesley Wigham and GitHub
38da682de7
Unify contextual signature type parameter assignment ( #31574 )
...
* Unify conditional signature type assignment
* Moonomorphism
2019-06-05 14:35:00 -07:00
Sheetal Nandi
edffcce785
Take optional texts to verify parameter for rangesWithSameTextAreRenameLocations
2019-06-05 13:52:41 -07:00
Sheetal Nandi and GitHub
5c21fad12f
Merge pull request #31432 from microsoft/builderAPI
...
Api for tsc --build and --incremental
2019-06-05 12:31:00 -07:00
Paul van Brenk
c5578a2b43
Update error message as requested by @danielrosenwasser
2019-06-04 19:08:34 -04:00
Sheetal Nandi
004488c0c9
Set declaration span only if its not same as own span
2019-06-04 15:37:43 -07:00
Sheetal Nandi
eaeeb06f9a
Handle when declarationSpan from declarationNode is undefined
2019-06-04 13:48:13 -07:00
Sheetal Nandi
424f2c9e00
More tests
2019-06-04 13:06:34 -07:00
Sheetal Nandi
e41533acc7
Handle computed property names
2019-06-03 14:06:30 -07:00
Sheetal Nandi
0fee3b023d
Handle destructuring assignments
2019-06-03 13:42:55 -07:00
csigs
30333e19e2
LEGO: check in for master to temporary branch.
2019-06-03 16:10:14 +00:00
Paul van Brenk
a658f728a9
Include the project filepath in the error message for files not being
...
listed in the 'include' pattern. TS6307
2019-06-02 11:54:48 -04:00
Anders Hejlsberg and GitHub
a5281ada54
Merge pull request #31687 from microsoft/enumImplicitIndexSignatures
...
Implicit index signatures for enum object types
2019-06-02 07:42:58 -07:00
Anders Hejlsberg and GitHub
d6c323a21b
Merge pull request #31711 from microsoft/fixDestructuringWithFallback
...
Fix destructuring with fallback
2019-06-01 17:30:07 -07:00
Anders Hejlsberg
d548f6af70
Consider object literals in unions to have properties of type 'undefined'
2019-06-01 09:45:58 -07:00
Benjamin Lichtman and GitHub
eb81feaf04
Merge pull request #31685 from uniqueiniquity/stopInvalidatingOnOpenFileSave
...
Stop invalidating module resolution cache when saving an open file
2019-05-31 20:36:33 -04:00
Anders Hejlsberg
4fc5f6a5ff
When binding pattern contextually types x || y, x contextually types y
2019-05-31 16:40:22 -07:00
Wesley Wigham and GitHub
41ce98b440
Propagate saved variance flags from cached comparisons ( #31688 )
...
* Propegate saved variance flags from cached comparisons
* Propegate variance a bit more selectively
* Add test
* Remove now-redundant code
* Fix misspelling and remove unneeded branch
2019-05-31 16:11:08 -07:00
Sheetal Nandi
dfb613c6d6
Use for-of declaration list + expression as span for preview
2019-05-31 16:02:31 -07:00
Benjamin Lichtman
d3b6ba557a
Change test instead of behavior
2019-05-31 14:46:15 -07:00
Sheetal Nandi
9703b3d6c1
Show property assignment for special property assignments in js files
2019-05-31 14:05:15 -07:00
Sheetal Nandi
6c04a0d14e
For property name of binding element use binding element as preview node
2019-05-31 11:33:36 -07:00
Benjamin Lichtman
7ac5fa783b
Refactor and add wildcard scenario
2019-05-31 11:24:54 -07:00
Sheetal Nandi
15ce996cf5
Export assignment identifier use ExportAssigment as declaration
2019-05-31 11:09:22 -07:00
Anders Hejlsberg
aaa55923e8
Permit assignment this.xxx when class has index signature
2019-05-31 11:03:49 -07:00