Jake Bailey
e6dcf6f5cb
Fix lints after dep update ( #48707 )
2022-04-14 15:19:22 -07:00
Josh Goldberg
fa2515ecd9
Fixed multiple prologue directives with parameter properties ( #48687 )
2022-04-14 09:29:15 -07:00
TypeScript Bot
6a4cb30a5f
Update package-lock.json
2022-04-14 06:07:26 +00:00
Andrew Branch
4fdffbf58f
Checkout needs everything ( #48689 )
2022-04-13 17:25:05 -07:00
Andrew Branch
f1df67cf00
Fix workflow syntax
2022-04-13 17:21:19 -07:00
Andrew Branch
d7c95930ef
setup-node needs a version spec ( #48688 )
2022-04-13 17:19:39 -07:00
Andrew Branch
cb8ddd972d
WIP ( #48682 )
2022-04-13 17:16:31 -07:00
Andrew Branch
796be45118
Update signatures to avoid post-LKG error ( #48677 )
2022-04-13 16:36:35 -07:00
Oleksandr T
73c93eec5c
fix(48657): allow JSXElement names to be IdentifierNames ( #48661 )
2022-04-13 12:32:10 -07:00
Anders Hejlsberg
a027cfa8ac
More permissive parsing of instantiation expressions ( #48659 )
...
* More permissive parsing of expressions with type arguments
* Add test
2022-04-13 09:16:43 -04:00
Sheetal Nandi
988fa85f88
Handle declaration file names consistently ( #48647 )
2022-04-12 11:43:57 -07:00
Anders Hejlsberg
cce61d1b69
Variance annotations on class expressions + deferred valiation ( #48645 )
...
* Variance annotations on class expressions + deferred validation
* Add regression tests
2022-04-12 09:34:33 -04:00
TypeScript Bot
c9a4d017fd
Update package-lock.json
2022-04-12 06:07:39 +00:00
Sheetal Nandi
a1e77edfdf
Fix the issue with not serializing impliedFormat when signature and version of the file are same ( #48614 )
...
* When checking for incremental correctness always calculate signature
* Fix the issue with not serializing impliedFormat when signature == version of the file
2022-04-11 12:39:57 -07:00
Andrew Branch
02787cfde1
Make LKG and nightly declaration emit the same ( #48641 )
2022-04-11 12:33:57 -07:00
Sheetal Nandi
15c2120a95
Update affected files pending emit when emitting using SemanticDignosticsBuilderProgram ( #48519 )
...
* Update affected files pending emit when emitting using SemanticDignosticsBuilderProgram
* Saving of affected files pending emit is not needed any more
* PR feedback
2022-04-11 11:54:39 -07:00
Andrew Branch
a7d818b24a
Allow twoslash-repros action to be run on-demand
2022-04-11 11:50:46 -07:00
Jack Bates
c1db699482
Don't skip tests named *Fourslash.ts ( #48615 )
2022-04-11 11:45:44 -07:00
Gabriela Araujo Britto
dfb9f2f953
don't have type annotations on suggested object literal methods ( #48607 )
2022-04-11 11:33:02 -07:00
csigs
f81f63f343
LEGO: Merge pull request 48633
...
LEGO: Merge pull request 48633
2022-04-10 03:15:53 -07:00
Anders Hejlsberg
a744862aa5
Explore fewer constraints in getResolvedBaseConstraint ( #48613 )
2022-04-09 10:06:01 -04:00
csigs
b797a3eb2e
LEGO: Merge pull request 48621
...
LEGO: Merge pull request 48621
2022-04-09 03:16:15 -07:00
Andrew Branch
af3e1d4dfd
Reuse type nodes from optional parameters even when not written as a union with undefined ( #48605 )
...
* Reuse type nodes from optional parameters and properties even when not written as a union with `undefined`
* Remove newly unneeded NodeBuilderFlag
* Update public API
* Update baselines from main
2022-04-08 14:28:36 -07:00
Wesley Wigham
12c4ea8542
Fix semantic merge conflict
2022-04-08 12:15:50 -07:00
Wesley Wigham
f30ce1ff8f
Update update-package-lock.yaml
...
12 -> 14
2022-04-08 11:16:49 -07:00
Wesley Wigham
5e721d979d
Update update-lkg.yml
...
12 -> 14
2022-04-08 11:16:27 -07:00
Wesley Wigham
76e6e46d51
Update sync-branch.yaml
2022-04-08 11:15:41 -07:00
Wesley Wigham
6bcc53bbce
Update set-version.yaml
2022-04-08 11:15:21 -07:00
Wesley Wigham
b246dee2b8
Update nightly.yaml
2022-04-08 11:14:50 -07:00
Wesley Wigham
a33e7acfc8
Update ci.yml
...
Update node versions
2022-04-08 11:14:11 -07:00
Wesley Wigham
8e447462a6
Update accept-baselines-fix-lints.yaml
...
12 -> 14
2022-04-08 11:13:37 -07:00
Wesley Wigham
ee82068989
Update new-release-branch.yaml
...
12 -> 14
2022-04-08 11:13:13 -07:00
Wesley Wigham
1df80737a1
Update release-branch-artifact.yaml
...
12 -> 14 (we have odd test errors on 12 that aren't worth debugging)
2022-04-08 11:12:29 -07:00
Oleksandr T
3b2fa50a14
fix(48487): allow using private names as the self-assignment entity name ( #48496 )
2022-04-08 10:48:28 -07:00
csigs
b1fb7293c0
LEGO: Merge pull request 48612
...
LEGO: Merge pull request 48612
2022-04-08 07:59:17 -07:00
LowR
b45cf0d694
disentangle the meaning of SymbolLinks.target ( #47098 )
2022-04-07 15:40:39 -07:00
Zzzen
f4b99ea47c
preserve this when extracting functions ( #41992 )
...
* preserve this when extracting functions
* rename IsThisReferringToFunction to UsesThisInFunction
* refactor
* update tests
2022-04-07 15:05:46 -07:00
Wesley Wigham
ca96d2e246
Fix semantic merge conflict
2022-04-07 14:14:11 -07:00
Sheetal Nandi
d8edd191ab
Write version for baselining in buildinfo ( #48602 )
...
Also baseline buildinfo so its easier to detect mistakes
2022-04-07 13:38:54 -07:00
jihndai
b18141b0bc
Do not reset control flow analysis on index signatures ( #48427 )
...
* do not flag index signatures as a control flow container
* add tests and baselines
2022-04-07 13:29:07 -07:00
Ron Buckton
b975dfa102
Write more useful types in .types test outputs ( #48578 )
2022-04-07 09:51:17 -07:00
Wesley Wigham
4d2fb5407c
Preserve the distributivity of inlined conditional types in declaration emit ( #48592 )
2022-04-06 17:21:46 -07:00
Wesley Wigham
94d33ba85d
Ensure late painted statements are only transformed once, so inner substitutions are consistently read ( #48558 )
...
* Ensure late painted statements are only transformed once, so inner substitutions are consistently read
* PR suggestion
* Fix lint
2022-04-06 16:36:42 -07:00
Mateusz Burzyński
702bc5222b
Add additional tests for intra expression inference ( #48584 )
2022-04-06 16:17:53 -07:00
Sheetal Nandi
4c6f25a998
More refactoring of tsc baselines to help with easier updates ( #48572 )
...
* Some refactoring of baselines
* Some refactoring of baselines
2022-04-06 14:10:08 -07:00
Anders Hejlsberg
8f6e626d1c
Permit type alias variance annotations only for certain object types ( #48589 )
...
* Permit type alias variance annotations only for certain object types
* Accept new baselines
2022-04-06 14:04:42 -07:00
Sheetal Nandi
3fd8a6e443
Some refactoring for baselining for easy update ( #48516 )
...
* Some refactoring for baselining for easy update
* Set modified time in baseline
* Some renames per feedback
2022-04-06 12:46:34 -07:00
Nathan Shively-Sanders
16b6f0f533
manually update webworker to remove AbortSignal.abort ( #48580 )
2022-04-05 17:08:17 -07:00
Andrew Casey
76e74370ab
Only report isDefinition when FAR is triggered on a definition ( #48566 )
...
* Don't report isDefinition unless the starting node is a declaration
* Drop isDefinition everywhere it isn't specifically needed
* Fix tsserver tests
* Update shim comment
* Update baselines
* Add tests for isDefinition
* Update doc comment
* Clear isDefinition from all references if the first one lacks it
2022-04-05 17:04:18 -07:00
jihndai
f7c457d207
Update Intl.DisplayNames types for better spec compliance ( #48442 )
...
* update display names types
* update baselines
* add tests and baselines
* add another test
2022-04-05 16:58:25 -07:00