Andrew Casey
2953574eba
Use getEncodedSyntacticClassifications
2019-06-21 14:48:22 -07:00
Andrew Casey
6e50853143
Trivially expose getEncodedSyntacticClassifications
2019-06-19 15:48:23 -07:00
Sheetal Nandi
7ed3896a0a
Merge pull request #31587 from microsoft/definitionSpan
...
Include declarationSpan as relevant declaration span when defintion or other places are declaration name
2019-06-18 14:07:15 -07:00
Nathan Shively-Sanders
1e6a6e9989
Update DOM and baselines ( #31806 )
2019-06-18 08:41:40 -07:00
Josh Goldberg
ca00b3248b
Added --noImplicitThis code fix for functions used as object properties ( #31138 )
...
* Added --noImplicitThis code fix for functions used as object properties
Before trying out all the various possibilities for where these functions could be used, I figured I'd start out with a relatively simple use case to verify this is the right approach. Is it? 😄
Starts on #28964 .
* Fixed function expression names; included new baselines
* Got JSDocs to work, hooray!
* Added test for 'any' case of no function uses
* Refactored for inferFunctionReferencesFromUsage
* Fixed inference bug: undefined references cause parameters to default
* Removed dead code comments
2019-06-17 19:00:15 -07:00
Ron Buckton
179381301e
Move class property transform ( #31848 )
...
* Revert "Revert "Move class property transformation into new transformer. (#30467 )""
This reverts commit 53467ae4a4 .
* Fix emit issues
2019-06-17 14:26:42 -07:00
ExE Boss
81f71530c4
fix(lib): Fix RegExp constructor with string|RegExp and flags ( #30586 )
2019-06-13 15:38:11 -07:00
Sheetal Nandi
73bf2684ac
Rename to use contextSpan
2019-06-13 12:41:21 -07:00
Wesley Wigham
74c6bc1f85
Filter primitives from union when checking for mismatched excess props if nonprimitive type is present ( #31708 )
...
* Filter primitives from union when checking for mismatched excess props if nonprimitive type is present
* Use maybeTypeOfKind
2019-06-12 17:31:57 -07:00
Sheetal Nandi
da2aa9781e
Revert to using spread instead of mutating value later
2019-06-12 15:25:16 -07:00
Sheetal Nandi
a0d164f142
Merge pull request #31820 from microsoft/nodeModules
...
When resolving from typings cache, handle node code modules
2019-06-12 10:55:26 -07:00
Sheetal Nandi
520f7e8067
Merge pull request #31818 from microsoft/sharepointIssue
...
Do not watch tsconfig files from folders that we canot watch (because they are at roots we want to ignore)
2019-06-12 10:47:17 -07:00
Benjamin Lichtman
0628adc056
Merge pull request #31865 from amcasey/FunctionHintSpan
...
Correct outline hint spans for functions
2019-06-12 10:13:21 -07:00
Andrew Casey
1bf28f21de
Add regression test
2019-06-11 17:50:36 -07:00
Andrew Casey
65881602b6
Correct outline hint spans for functions
2019-06-11 16:58:08 -07:00
Ron Buckton
375487ec60
Add __spreadArrays helper ( #31166 )
2019-06-11 14:15:57 -07:00
Anders Hejlsberg
ad322a561a
Merge pull request #31838 from microsoft/emptyIntersectionReduction
...
Empty intersection reduction
2019-06-11 12:25:51 -07:00
Anders Hejlsberg
3a1fb1bea6
Properly preserve CheckFlags.Readonly when widening properties
2019-06-11 09:25:00 -07:00
Daniel Rosenwasser
d023427226
Merge pull request #31831 from shibukawa/patch-1
...
Fix es2019.string.d.ts
2019-06-10 16:13:38 -07:00
Daniel Rosenwasser
a7a0c3300d
Improve ts6307 error ( #31706 )
...
Improve ts6307 error
2019-06-10 15:17:49 -07:00
Daniel Rosenwasser
79aff027f3
Merge pull request #31290 from a-tarasyuk/bug/29880
...
29880 - No completions for computed string properties
2019-06-10 13:45:58 -07:00
Anders Hejlsberg
d2397e0380
Fix minor issue
2019-06-09 10:05:55 -07:00
Anders Hejlsberg
d4c9f24577
Intersections of disjoint types become never upon construction
2019-06-09 07:46:13 -07:00
Yoshiki Shibukawa
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
Andrew Branch
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
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
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
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
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
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