Commit Graph

929 Commits

Author SHA1 Message Date
Sheetal Nandi afa03f0948 Allow declarationMap to be emitted when transpiling declarations and option is enabled (#59337) 2024-07-17 17:07:17 -07:00
Armando Aguirre 972e9a70c6 Added affectsSourceFile to importHelpers and jsxImportSource (#59195)
Co-authored-by: Armando Aguirre Sepulveda <araguir@microsoft.com>
2024-07-10 14:18:45 -07:00
Lars Kappert 752135eb40 Remove unused exports & dead code (using Knip) (#56817)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-06-27 14:24:01 -07:00
Daniel Rosenwasser 4935e14901 Use more explicit operations in core helpers (and other nits) (#58873) 2024-06-18 16:00:00 -07:00
Sheetal Nandi e834989ebd Allow --noCheck to be commandLine option (#58839) 2024-06-14 11:40:32 -07:00
Wesley Wigham bbfc1aa281 Enable JS emit for noCheck and noCheck for transpileModule (#58364) 2024-05-30 13:38:37 -07:00
Jake Bailey 16beff101a Use explicit extensions for imports within src (#58421) 2024-05-06 17:07:54 -07:00
Sheetal Nandi 7a38980a7e Validate the options passed in are numbers instead of strings for our custom commandline options (#58388) 2024-05-01 14:51:36 -07:00
Wesley Wigham f76727d17a Add noCheck API option (#57934) 2024-04-26 13:21:15 -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
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
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 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
Sheetal Nandi cbae6cf9f4 Add template variable ${configDir} for substitution of config files directory path (#58042) 2024-04-16 16:25:07 -07:00
Gabriela Araujo Britto 551a600e84 Add es2023 target (#58140) 2024-04-11 18:42:41 -07:00
Jake Bailey e72605925d Update deps and fix new lints (#57870) 2024-03-21 09:24:23 -07:00
Isabel Duan 3282ff28e6 add Array.fromAsync to esnext (#57748)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2024-03-19 10:43:02 -07:00
Joshua Chen a9460c8c93 Add lib declaration for RegExp#unicodeSets (#57111) 2024-03-18 15:02:07 -07:00
Gabriela Araujo Britto b009837298 Revert "Allow (non-assert) type predicates to narrow by discriminant" (#57750) 2024-03-15 11:59:09 -07:00
Ron Buckton 193d3ccef7 Track minimum language version for various language features (#57670) 2024-03-11 17:13:29 -04:00
Jake Bailey 3a0869fd97 Update typescript dep to v5.4.2, other dependencies (#57664) 2024-03-06 12:29:01 -08:00
René 877d9d316d Intl.NumberFormat: Add latest options, fix previous library discrepancies (#56902) 2024-03-01 09:40:44 -08:00
Jake Bailey 26df0cb23e Remove 5.5 deprecated compiler options (#57527)
Co-authored-by: Andrew Branch <andrew@wheream.io>
2024-02-28 14:35:39 -08:00
Sheetal Nandi f23927a806 Remove code related to prepend and fix baselines (#57472) 2024-02-28 09:52:38 -08:00
Andrew Branch 6cb6fc94ae Add --module preserve, support require in --moduleResolution bundler (#56785) 2024-01-19 12:03:24 -08:00
Kevin Gibbons fbf908bd58 Add types for Object.groupBy() and Map.groupBy() (#56805)
Co-authored-by: Nick McCurdy <nick@nickmccurdy.com>
Co-authored-by: Karl Horky <karl.horky@gmail.com>
Co-authored-by: Niklas Mollenhauer <nikeee@outlook.com>
2024-01-11 11:17:54 -08:00
Kagami Sascha Rosylight 8a3fe5760f Add asynciterable libs (#56723) 2024-01-02 11:07:57 -08:00
Andrew Branch b436976bd3 Show implied options in --showConfig (#56701) 2023-12-08 11:33:01 -08:00
Linus Groh aef29e400e Add types for Promise.withResolvers() (#56593) 2023-11-29 08:55:55 -08:00
Sheetal Nandi b6121e400c Replace disk path operations to use fileNames instead of path (#56476)
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2023-11-27 22:21:29 -08:00
Ryan Cavanaugh 1565f96e44 Deprecate ES3 in commandline parser (#56304)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-11-03 12:29:32 -07:00
kazuya kawaguchi 09fc67bd48 fix: add Intl.getCanonicalLocales type definition (#56079)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-11-03 10:56:44 -07:00
vuittont60 2e660bc174 Fix typos (#56115) 2023-10-16 09:37:15 -07:00
Sheetal Nandi ec1414f627 Source files not affected by all module resolution options (#55790) 2023-09-20 16:45:32 -07:00
Jake Bailey 1a68590c9c Mark more options as affecting errors/resolution (#53403)
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
2023-09-19 15:11:21 -07:00
Sheetal Nandi 3ade5022d7 Fix file matching with tsx and dts of same name are included by include patterns (#55690) 2023-09-12 13:10:34 -07:00
Jake Bailey b5b6048bb3 Clean up helpers which are always present in ES2020 (#55515) 2023-08-28 12:26:22 -07:00
Sampo Kivistö ec2bd4e252 perf: replace String and Array indexOf method calls with includes method call (#55482) 2023-08-25 11:27:55 -07:00
Jake Bailey 5e8c261b6a dprint the codebase (#54820) 2023-08-16 14:26:38 -07:00
Jake Bailey 3b43d841d1 Enable eslint rules prefer-rest-params and prefer-spread (#55181) 2023-08-11 15:07:06 -07:00
Oleksandr T 30fe6ada02 fix(55227): useUnknownInCatchVariables sets default value differently to other strict commandline options (#55230) 2023-08-02 11:32:46 -07:00
Andrew Branch 5932420b0f Fix self-name input linking for --allowJs --declaration projects (#54819)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-07-03 11:17:07 -07:00
Oleksandr T bc91920cc6 feat(53461): Implement decorator metadata proposal (#54657) 2023-06-23 10:55:22 -04:00
Ron Buckton f9cf8216c6 Support using and await using declarations (#54505) 2023-06-22 17:02:56 -04:00
leoelm eeed72171f Type definitions for 'Symbols as WeakMap keys' (#76) (#54195)
Signed-off-by: Leo Elmecker <lelmeckerpla@bloomberg.net>
2023-06-09 14:20:26 -04:00
João Nuno Mota 0d262616f3 Add extra Date.UTC signature to reflect ES2017 changes (#54125) 2023-05-22 16:23:08 -07:00
Andrew Branch b29ed18466 Ignore allowImportingTsExtensions in transpileModule to suppress option validation error with noEmit (#53599) 2023-03-31 09:10:49 -07:00
David Sherret 1761a67ff8 perf: ensure compiler options affecting semantic diagnostics get included in build info (#53423) 2023-03-22 09:54:17 -07:00
Sheetal Nandi 377c4ce32f Refactor config file syntax search to callback model instead of constructing arrays to iterate over (#53416) 2023-03-21 11:23:36 -07:00
Sheetal Nandi 8814f6da48 Report error if commanline only option is specified in tsconfig (#53397) 2023-03-20 13:26:04 -07:00