csigs and GitHub
a84ca309e0
LEGO: Merge pull request 45088
...
LEGO: Merge pull request 45088
2021-07-17 22:14:11 -07:00
csigs and GitHub
64e19ffc3f
LEGO: Merge pull request 45087
...
LEGO: Merge pull request 45087
2021-07-17 16:17:42 -07:00
csigs and GitHub
7ad76171f7
LEGO: Merge pull request 45085
...
LEGO: Merge pull request 45085
2021-07-17 10:13:32 -07:00
TypeScript Bot
4ca716ceb3
Update package-lock.json
2021-07-17 06:06:08 +00:00
csigs and GitHub
5e55501ac6
LEGO: Merge pull request 45083
...
LEGO: Merge pull request 45083
2021-07-16 22:14:50 -07:00
csigs and GitHub
cf8217fc29
LEGO: Merge pull request 45081
...
LEGO: Merge pull request 45081
2021-07-16 16:13:58 -07:00
Andrew Branch and GitHub
b300ef4bc7
Check for watched directories before clearing map ( #44947 )
2021-07-16 15:35:38 -07:00
Oleksandr T and GitHub
1aac3555f7
fix(45049): fix diagnostic for missing property initializer ( #45052 )
2021-07-16 15:10:42 -07:00
Oleksandr T and GitHub
ba2e2600c8
fix(44701): allow renaming string literal in rhs/lhs of equality ( #44708 )
2021-07-16 14:45:06 -07:00
Anders Hejlsberg and GitHub
193b7494d0
Properly propagate silentNeverType in intersections ( #45073 )
...
* Properly propagate silentNeverType in intersections
* Add regression test
2021-07-16 11:20:04 -07:00
Wesley Wigham and GitHub
d0efe9065e
Dont swallow declaration emit errors when issued on nodes without names ( #44995 )
2021-07-16 10:30:22 -07:00
csigs and GitHub
7ef66f647b
LEGO: Merge pull request 45072
...
LEGO: Merge pull request 45072
2021-07-16 10:13:11 -07:00
Andrew Casey and GitHub
d8f2aaeebf
Shorten baseline names ( #45054 )
...
Fixes #45051
2021-07-16 10:01:36 -07:00
Oleksandr T and GitHub
00596e19f5
fix(44168): exclude adding export to existing exported identifier ( #44755 )
2021-07-16 09:40:17 -07:00
Oleksandr T and GitHub
23ebe04563
fix(44902): resolve members in Union or Intersection types ( #44904 )
2021-07-16 09:07:52 -07:00
csigs and GitHub
e4da7a97a0
LEGO: Merge pull request 45067
...
LEGO: Merge pull request 45067
2021-07-16 04:13:22 -07:00
Wesley Wigham and GitHub
8268f2adec
Avoid bogus circularity error on context sensitive constructor property assignments ( #44601 )
...
* Avoid bogus circularity error on context sensitive constructor property assignments
* Add JS case and ensure its fixed
2021-07-15 17:06:56 -07:00
csigs and GitHub
87cff4e3bb
LEGO: Merge pull request 45060
...
LEGO: Merge pull request 45060
2021-07-15 16:13:30 -07:00
Andrew Branch and GitHub
6d3772f357
Fix auto import require of CJS module with module:es2015+ and allowSyntheticDefaultExports ( #44955 )
2021-07-15 16:08:05 -07:00
541e553163
Specific diagnostic suggestions for unexpected keyword or identifier ( #43005 )
...
Error message improvement for unexpected tokens in the following situations:
* A word was parsed that seems to have a low edit distance from a known common keyword
* A word was parsed that seems to be a known common keyword and a name _without_ a space in-between
* Parsing in a particular type of node (mostly a class property declaration) got a different word or token than expected
___
* Specific diagnostic suggestions for unexpected keywords or identifier
* Don't reach into there, that's not allowed
* Improved error when there is already an initializer
* Specific module error message for invalid template literal strings
* Skip 'unexpected keyword or identifier' diagnostics for declare nodes
* Improve error for function calls in type positions
* Switch class properties to old diagnostic
* Corrected errors in class members and reused existing textToKeywordObj map
* Corrected more baselines from the merge
* Update src/compiler/parser.ts
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com >
* Mostly addressed feedback
* Clarified function call type message
* Split up and clarified parsing vs error functions
* Swap interface name complaints back, and skip new errors on unknown (invalid) tokens
* Used tokenToString, not a raw semicolon
* Inline getExpressionText helper
* Remove remarks in src/compiler/parser.ts
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com >
2021-07-14 13:50:55 -07:00
Gabriela Araujo Britto and GitHub
3358f137c6
Fix namespace name conflict detection in "Convert named imports to namespace import" action ( #45019 )
...
* fix namespace conflict detection
2021-07-14 11:07:12 -07:00
jjangga0214 and GitHub
2b8296b7ad
chore(typo): fix comment ( #45016 )
2021-07-14 09:28:48 -07:00
TypeScript Bot
9247ef115e
Update package-lock.json
2021-07-14 06:06:00 +00:00
Jean Pierre and GitHub
40ec8392a1
Fixes JSDoc @type function with variable args is interpreted incorrectly ( #44864 )
...
* Fixes #44386
* Add test
* Move test from fourslash to conformance
2021-07-13 17:17:24 -07:00
Daniel Rosenwasser and GitHub
0996bff509
Support syntactic diagnostics in partial mode ( #44859 )
...
* Initial work to support syntactic diagnostics in partial mode.
* Test out 'syntacticDiagnosticsSync' requests.
* Added a 'geterr' test.
* Accepted baselines.
* Remove/clean up comments.
2021-07-13 11:22:34 -07:00
caojoshua and GitHub
acdf62fa1e
Fix "Union types are not being narrowed down correctly in 4.3 #44401 " ( #44771 )
...
* Fix "Union types are not being narrowed down correctly in 4.3 #44401 "
* On undefined constraint, add the original type to constraints.
2021-07-13 11:02:18 -07:00
TypeScript Bot
c17fd8c479
Update package-lock.json
2021-07-13 06:06:06 +00:00
csigs and GitHub
f453a28ed0
LEGO: Merge pull request 45000
...
LEGO: Merge pull request 45000
2021-07-12 22:13:14 -07:00
Wesley Wigham and GitHub
8e855d140b
Watch mode watches for changes in package.json files used in resolution ( #44935 )
...
* watch mode watches for changes in package.json files used in resolution
* Pathify result of realpath
* Actually accept pathified baselines
2021-07-12 17:23:08 -07:00
csigs and GitHub
0746f70fe5
LEGO: Merge pull request 44989
...
LEGO: Merge pull request 44989
2021-07-12 10:14:10 -07:00
csigs and GitHub
3c604f1c0a
LEGO: Merge pull request 44987
...
LEGO: Merge pull request 44987
2021-07-12 04:13:35 -07:00
csigs and GitHub
ed6007d316
LEGO: Merge pull request 44982
...
LEGO: Merge pull request 44982
2021-07-11 22:18:01 -07:00
csigs and GitHub
bcb1911abd
LEGO: Merge pull request 44979
...
LEGO: Merge pull request 44979
2021-07-11 16:18:31 -07:00
csigs and GitHub
db561931a7
LEGO: Merge pull request 44977
...
LEGO: Merge pull request 44977
2021-07-11 10:13:09 -07:00
Ron Buckton and GitHub
66c3063b06
Add collision check for 'Reflect' when using super in static initializers ( #44876 )
...
* Add collision check for 'Reflect' when using super in static initializers
* PR feedback
* Accept baseline for new failing test
2021-07-10 12:48:54 -07:00
TypeScript Bot
6ee8154b2b
Update package-lock.json
2021-07-10 06:05:44 +00:00
TypeScript Bot
8e795108eb
Update package-lock.json
2021-07-09 06:05:48 +00:00
a15030ff6f
fix(35050): Decorator emit incorrect within try block ( #41951 )
...
* fix(35050): fix decorated block-scoped class emit
* Only use internal name when targeting ES5/3
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com >
2021-07-08 10:48:02 -07:00
Andrew Branch and GitHub
e881a69939
Detect circularities printing recursive conditional types ( #43733 )
2021-07-08 09:19:58 -07:00
TypeScript Bot
2f3cd38121
Update package-lock.json
2021-07-08 06:06:03 +00:00
Ron Buckton and GitHub
8590f0db40
Fix decorator emit regression for static fields ( #44933 )
2021-07-07 16:58:36 -07:00
Oleksandr T and GitHub
c0821aeacd
fix(44926): change noImplicitOverride description ( #44929 )
2021-07-07 18:43:44 +01:00
TypeScript Bot
1de29af709
Update package-lock.json
2021-07-07 06:06:13 +00:00
Andrew Casey and GitHub
4d5978d1db
Apply disableReferencedProjectLoad to getOriginalLocationEnsuringConfiguredProject ( #44836 )
...
* Apply disableReferencedProjectLoad to getOriginalLocationEnsuringConfiguredProject
* Reuse previously computed values and refine comments
* Add baselines for test matrix
2021-07-06 15:22:48 -07:00
Eli Barzilay
bb7de99e5a
Improve "Convert to template string" with template-strings
...
Fixes #44396
2021-07-06 18:14:58 -04:00
Anders Hejlsberg and GitHub
8e01a86c01
Consistently ignore attributes with hyphenated names in JSX ( #44873 )
...
* Consistently skip attributes with hyphenated names in JSX
* Add regression test
* Accept new baselines
* Fix tests
* Accept new baselines
2021-07-06 10:29:51 -10:00
Andrew Branch and GitHub
1da18c60d6
Refactor export map cache to not store transient symbols ( #44816 )
...
* Add some failing tests around transient symbols
* Working, but slower
* A class is much faster, apparently
* This is probably best?
* Back to multimap
* Go back to single symbol cache
* Revert now-unnecessary generics
* Rename and reorganize
* Fix weird compound condition
* Clean up
2021-07-06 11:04:59 -06:00
Oleksandr T and GitHub
fc5c765f81
fix(44868): handle import type in shorthand assignment ( #44881 )
2021-07-06 09:29:09 -06:00
TypeScript Bot
f58a662950
Update package-lock.json
2021-07-05 06:05:57 +00:00
TypeScript Bot
b539c9a0c3
Update package-lock.json
2021-07-04 06:06:07 +00:00