Component commits:
4ae62c3884 getConstraintDeclaration gets the first declaration with a constraint, rather than just the first declaration
b1ad54b382 Add type annotation
2232f5ebaa Update comment
Fixes#33295.
This follows a similar pattern as in #20314 by requiring an explicit
`parent` parameter. Where possible, it uses the appopriate variable at
the call sites.
In several locations there is no context available though (e.g.
inspecting `valueDeclarations`) and we access `.parent` as the code
previously did. From a cursory inspection this seems correct, these
callpaths originate in phases where there must be a `parent` (i.e. in
checker, binder, etc).
Change-Id: I28e4726777b57237bec776e4001e9e69ac591b11
Component commits:
a2b3af2b24 Elevate mapped types over type parameters in the same way as naked type parameters in intersection inference prioritization
Component commits:
206de25263 Ensure that TS can run in a browser by checking for a process obj before using it in the perf logger
45227ee337 Merge branch 'master' into allow_running_in_web
Component commits:
339e1320c4 Bind typedef/enum on all assignment decl kinds
This fixes a crash on exports, but the code now handles all kinds
returned from getAssignmentDeclarationPropertyAccessKind.
Component commits:
5de0303728 Fix transpiling when options specify incremental or tsbuildinfofile Fixes#33184
0589d2dd1e Value for transpile option in CommandLineOption
Component commits:
078ef7ff02 Fix the semantic diagnostics caching in builder to handle conversion from relative to buildInfo to absolute path Fixes#33161
Component commits:
a81ce061de Stricter criteria for eliminating types in unions during inference
f929a25407 Add regression test
6d46850172 Accept new baselines
86d9153374 Accept new API baselines
abc61a0949 Add InferencePriority.Circularity per CR feedback
ac2f151412 Accept new API baselines
c816cf2562 Add additional test
af7ccf954a Accept new baselines
* Add error message for keywords with escapes in them
* Move check into parser during advance to next token to utilize context for contextual keywords
* git add .
* Add tests for extended escapes
* Better error courtesy of @DanielRossenwaser
* Add test of browser-inconsistent case and alter condition to match spec
* Merge adjacent conditions
* Use seperate functions for checking keywords vs not
* Use flags to track unicode escape presence
* Adjust error text