35885 Commits

Author SHA1 Message Date
Sheetal Nandi
95d23ca7d2
Treat the input file name from referenced project as "ts" rather than file extension it is when determining eliding file for program construction (#58308) 2024-04-26 13:15:02 -07:00
Sheetal Nandi
c92bd16ac0
Exclude outDir and declarationDir even if they come from extended config (#58335) 2024-04-26 13:14:40 -07:00
Jake Bailey
04963ee796
Make diagnostics public on EmitOutput (#58317) 2024-04-25 18:05:49 -07:00
navya9singh
ce4862c267
Updating move to file (#58257) 2024-04-25 15:32:18 -07:00
Jake Bailey
8d2e2d53c2
Move RegExp flag version mapping to LanguageFeatureMinimumTarget (#58311) 2024-04-25 15:22:21 -07:00
Jake Bailey
9504b7576a
Test Node 22 (#58309) 2024-04-24 22:11:57 -07:00
Daniel Rosenwasser
ed87791dd9
Rephrase error messages on backrererences. (#58310) 2024-04-24 21:59:53 -07:00
Oleksandr T
501fa6e4e4
fix(58265): JSDoc comment string with the keyword "@private" before import statement in JS file result in cryptic error TS1191 during compilation (#58297) 2024-04-24 21:18:31 -07:00
Ron Buckton
e28ad995d1
Report RegExp errors in grammar check, use Annex B grammar (#58295) 2024-04-24 19:16:05 -04:00
Wesley Wigham
e6ba82b346
Error on references to literal enum members in conditions (#58264) 2024-04-24 10:32:53 -07:00
Armando Aguirre
5b69fdf541
Clone questionMark and dotdotdot token (#58263)
Co-authored-by: Armando Aguirre Sepulveda <araguir@microsoft.com>
2024-04-24 10:20:59 -07:00
Jake Bailey
49762119f3
Disable no-inferrable-types eslint rule (#58306) 2024-04-24 09:57:17 -07:00
Wesley Wigham
0b71b81d7d
Add transpileDeclaration API method (#58261) 2024-04-23 17:09:47 -07:00
形素叢集・ぐらふぃーむ
4900c7f0a8
Modify CONTRIBUTING.md and the issue templates bug_report.yml and feature_request.yml to reduce duplicate issues and improve the quality of further submitted issues (#58155) 2024-04-22 08:43:49 -07:00
Mateusz Burzyński
21b5c9624c
Add an extra test case for an error on async function typed using @type (#58217) 2024-04-19 17:24:01 -07:00
Mateusz Burzyński
b1d821ae0c
Fixed crash in go to definition related to expando classes in JS files (#57628) 2024-04-19 16:54:30 -07:00
形素叢集・ぐらふぃーむ
42f238bfbb
Provide Syntax Checking for Regular Expressions (#55600)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-04-19 16:51:08 -07:00
Jean
8e8c1b6a64
Fix bug#56997 - Parenthesized SatisfiesExpressions with comments are not unwrapped consistently in emitted JS (#57281)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-04-19 16:00:44 -07:00
Jake Bailey
c50ec7952c
Add gitHead to package.json in all release workflows (#58135) 2024-04-19 15:54:56 -07:00
Titian Cernicova-Dragomir
e62418e868
Isolated declarations errors (#58201)
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-04-19 15:37:15 -07:00
Daniel Rosenwasser
e8f22253ba
Don't cache child lists for tokens (#58233) 2024-04-19 14:49:31 -07:00
Ryan Cavanaugh
aedd1b1bb5
Correctly compute noUncheckedIndexedAccess effects on compound/increment/decrement assignments (#58239) 2024-04-19 14:13:54 -07:00
Andreu Botella
3480321b38
Add types for String#isWellFormed and String#toWellFormed (#58010)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2024-04-19 13:52:23 -07:00
Jake Bailey
21f5f394b9
Add test for type inference of Promise/PromiseLike union bug (#58213) 2024-04-19 13:51:19 -07:00
Andrew Branch
e75f470be0
Report positionless tsconfig option errors on compilerOptions key (#58254) 2024-04-19 12:33:00 -07:00
Oleksandr T
93451e8dd9
fix(57497): "Remove unused declaration" does not work on overloaded function declarations (#57517) 2024-04-19 11:28:00 -07:00
Sheetal Nandi
c0ac582284
Make the config file name in logger little more concise. (#58255) 2024-04-19 11:26:31 -07:00
Mateusz Burzyński
e0755dc7c1
Fixed single signature type parameter leak (#58008)
Co-authored-by: Wesley Wigham <wewigham@microsoft.com>
2024-04-19 10:15:42 -07:00
Sheetal Nandi
10b784aa88
Add try catch and defer.reject for checking sys tests (#58252) 2024-04-19 09:48:19 -07:00
Jake Bailey
84265652d6
Rename isParameterDeclaration to isPartOfParameterDeclaration (#58251) 2024-04-19 09:34:28 -07:00
Nathan Shively-Sanders
e04a27c504
DOM update 2024-04-16 (#58211) 2024-04-19 08:52:38 -07:00
Wesley Wigham
48870169dc
Check nearest package.json dependencies for possible package names for specifier candidates (#58176) 2024-04-18 17:43:08 -07:00
James Lan
e33b8d9b85
Correct the type of return value of FinalizationRegistry.unregister (#57948) 2024-04-18 15:45:47 -07:00
Sheetal Nandi
05f4dbab10
Try sorting and deduplicating events before comparing. (#58242)
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
2024-04-18 11:59:53 -07:00
Sheetal Nandi
5b3060d5c6
[Experiment] Some tweaking to handle project references for auto import (#55955)
Co-authored-by: Andrew Branch <andrew@wheream.io>
2024-04-18 11:41:48 -07:00
Jake Bailey
207932a8fe
Move incremental state to WeakSets (#58087) 2024-04-18 11:30:11 -07:00
Jake Bailey
17e420daf6
Use built-in no-restricted-syntax to ban null instead of plugin, ban null type too (#58095) 2024-04-18 09:06:32 -07:00
Jake Bailey
72f413cea0
Remove deprecated originalKeywordKind and isInJSDocNamespace (#58228) 2024-04-17 15:28:07 -07:00
Titian Cernicova-Dragomir
23e99c2b76
Fix miss-reported node reuse in types. (#58221) 2024-04-17 14:41:21 -07:00
Jake Bailey
967d6189a6
Add lint error for declarations marked internal, but unexported (#58229) 2024-04-17 13:52:31 -07:00
Sheetal Nandi
904a59f343
Print correct information about noOpenRef in the baseline (#58230) 2024-04-17 13:28:33 -07:00
Jake Bailey
0dd12da165
Error on replacement character only in top-level scanning (#58227) 2024-04-17 11:34:00 -07:00
Sheetal Nandi
cbae6cf9f4
Add template variable ${configDir} for substitution of config files directory path (#58042) 2024-04-16 16:25:07 -07:00
Ryan Cavanaugh
3d523923f5
Logarithmish baseline counts (#58212) 2024-04-16 12:18:39 -07:00
Gabriela Araujo Britto
bc86414bf5 fix baselines 2024-04-16 12:00:36 -07:00
Mateusz Burzyński
fb1b26cc68
Propagate object flags related to object and array literals onto module.exports types (#57467) 2024-04-16 11:21:01 -07:00
Gabriela Araujo Britto
fd238857b4
Avoid infinite recursion with inferReverseMappedType (#57837) 2024-04-16 10:43:39 -07:00
TypeScript Bot
ce213148ec Update package-lock.json 2024-04-16 06:16:20 +00:00
Mateusz Burzyński
be1f89271c
Fix declaration emit of divergent accessors in JS classes (#58172) 2024-04-15 16:48:04 -07:00
Oleksandr T
4b01686602
fix(58151): JSDoc tags get lost when inheriting from a grandparent class (#58183) 2024-04-15 15:47:40 -07:00