Commit Graph
46 Commits
Author SHA1 Message Date
Andrew Branch 4ba2fafe7b Move compilerOptions to top level of createProgram params (#64324) 2026-09-18 20:32:11 +00:00
Wesley Wigham 5bb0fe6987 Add childrenIter method to API nodes (#64302) 2026-09-18 18:09:02 +00:00
Andrew Branch 2557ab38e4 Move printer to top level, add printFile method (#64320) 2026-09-18 01:12:04 +00:00
John FavretandCopilot d78f5fbe5b Port createSourceFile and createSourceFileFromFile (#64216)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6d538b67-9406-44b0-9f8b-5e83f902447e
2026-09-17 22:49:18 +00:00
Andrew BranchandCopilot Autofix powered by AI 898322c5e4 Replace api.updateSnapshot (#64204)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-09-17 21:42:41 +00:00
Jake Bailey ba29a56299 Update dependencies (#64283) 2026-09-16 19:56:54 +00:00
Andrew Branch 0021537954 Ignore sync api.close()’s SIGTERM for purposes of error printing and exit status (#64276) 2026-09-16 16:49:26 +00:00
Copilotandandrewbranch a3a2cc10df Implement Program resolution mode APIs (#64292)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: andrewbranch <3277153+andrewbranch@users.noreply.github.com>
2026-09-16 16:23:06 +00:00
auvred 02ce95ae50 Properly serialize +Infinity, -Infinity, and NaN number literal type values in API (#64241) 2026-09-16 13:24:15 +00:00
Andrew Branch 57d9528db2 Add missing APIs needed by typescript-eslint (#64264) 2026-09-14 23:18:05 +00:00
Andrew BranchandCopilot 879f9867ac [api] Add program.getResolvedModule and similar (#64247)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-11 20:10:59 +00:00
Andrew BranchandCopilot 248cd7ff15 [api] Generate optional protocol properties with | undefined so we can stop doing silly spreads to satisfy exactOptionalPropertyTypes (#64245)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-11 16:54:59 +00:00
Wesley Wigham e4989680c0 Add optional VFS parameters to updateSnapshot (#64115) 2026-09-09 20:23:43 +00:00
Tom MrazauskasandCopilot Autofix powered by AI 8bf449b9a7 [api] Add GenericType type (#64190)
Signed-off-by: mrazauskas <tom@mrazauskas.de>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-09-09 15:10:32 +00:00
Wesley Wigham fe5d056f0c Benchmark generator API, fix performance of nested all calls (#64206) 2026-09-09 00:09:58 +00:00
Jake Bailey bf7f49d6f5 Add independent VS Code extension releases (#64139) 2026-09-08 23:07:08 +00:00
Wesley Wigham 10404f71a8 Add defer functionality to generator executor (#64157) 2026-09-08 20:53:13 +00:00
Copilotandjakebailey 31e0087267 Prevent infinite loop in unstable AST JSDoc scanner (#64141)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jakebailey <5341706+jakebailey@users.noreply.github.com>
2026-09-04 21:30:59 +00:00
Wesley Wigham 725f6124bf Add pagination of batch requests (#64061) 2026-09-04 18:25:48 +00:00
Matheus Mol e73c923cb5 API: add getChildren and token getters to Node (#63893) 2026-09-03 21:38:15 +00:00
Wesley Wigham 43a90f4c10 Make the API disposable (#64117) 2026-09-02 04:52:11 +00:00
Jake Bailey 11b6dbfab8 Bump and clean up deps, raise min local node version (#64054) 2026-09-01 20:38:41 +00:00
Gabriela Araujo Britto 253c5e2074 Support import attributes on ambient modules (#63931) 2026-08-31 23:53:18 +00:00
Copilotandandrewbranch f52473a2ed Expose labeled tuple element declarations in the TypeScript 7 API (#64109)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: andrewbranch <3277153+andrewbranch@users.noreply.github.com>
2026-08-31 23:15:54 +00:00
Andrew Branchandtcernicovad1 61691a5cd8 Fix SymbolFlags.All value by parsing operator precedence when generating TS enums from Go enums (#64083)
Co-authored-by: tcernicovad1 <tcernicovad1@bloomberg.net>
2026-08-28 23:02:07 +00:00
Andrew BranchandCopilot 444de108b6 [api] Fix crash accessing tuple type reference data (#64080)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-28 19:46:12 +00:00
Gabriela Araujo Britto 54d81cfd11 Add createProgram to API (#63950) 2026-08-28 19:43:02 +00:00
Copilotandandrewbranch 3afef7b761 Complete the CompilerOptions API surface (#64078)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: andrewbranch <3277153+andrewbranch@users.noreply.github.com>
2026-08-28 19:42:50 +00:00
Copilotandandrewbranch 28a4d6cf8d Validate DocumentIdentifier arguments in API (#64079)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: andrewbranch <3277153+andrewbranch@users.noreply.github.com>
2026-08-28 19:42:04 +00:00
Wesley Wigham 8330d40f19 Additional generator-based sync API methods (#64023) 2026-08-27 20:14:35 +00:00
Copilotandandrewbranch 547fe42e0e Fix accessing name on jsdoc link for invalid names (#64032)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: andrewbranch <3277153+andrewbranch@users.noreply.github.com>
2026-08-27 19:08:43 +00:00
Tom Mrazauskas 0cfafa9185 [api] Add .getNonMissingTypeOfSymbol() method (#63956)
Signed-off-by: mrazauskas <tom@mrazauskas.de>
2026-08-27 18:13:58 +00:00
Tom MrazauskasandAndrew Branch 065f7ac56f [api] Add .isReadonlySymbol() method (#63943)
Signed-off-by: mrazauskas <tom@mrazauskas.de>
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2026-08-27 15:04:19 +00:00
5237ed4e20 [api] Add .getTargetSymbol() method (#63945)
Signed-off-by: mrazauskas <tom@mrazauskas.de>
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
Co-authored-by: Andrew Branch <andrew@wheream.io>
2026-08-26 18:54:17 +00:00
Tom Mrazauskas 3276240332 [api] Add hasTrailingComma getter in the RemoteNodeList class (#63957)
Signed-off-by: mrazauskas <tom@mrazauskas.de>
2026-08-26 14:39:51 +00:00
Andrew Branch 5739027c9a Fix transpileModule/transpileDeclaration bugs (#64024) 2026-08-26 01:29:30 +00:00
Jake Bailey f794b8c63a Restore compiler benchmark fixture (#64022) 2026-08-26 00:44:31 +00:00
Wesley Wigham f255195cda Add arbitrary API request batching (#63937) 2026-08-25 21:17:03 +00:00
John Favret e000391dd3 Port formatDiagnostics and formatDiagnosticsWithColorAndContext (#63935)
Copilot-Session: 5d2afb8f-0680-4d91-9a76-9c08a760ce24
2026-08-25 20:20:45 +00:00
Anders Hejlsberg 8239985a01 Fix getDeclarationModifierFlagsFromSymbolEx for synthetic properties (#63932) 2026-08-24 22:06:17 +00:00
Daniel Rosenwasser 1824be043c Fix extension launching (#63985) 2026-08-24 19:36:10 +00:00
Andrew Branch d6c4afddb2 Content mappers round 2 (#63936) 2026-08-21 20:16:32 +00:00
Jake Bailey 3bbdc6cb34 Fix TypeScript package major-minor version (#63940) 2026-08-21 18:56:00 +00:00
Tom Mrazauskas 6556d51579 [api] Add .getReducedType() method (#63899)
Signed-off-by: mrazauskas <tom@mrazauskas.de>
2026-08-20 17:56:11 +00:00
Tom Mrazauskas 0d9d53a3a8 [api] Add TypeFormatFlags enum (#63911)
Signed-off-by: mrazauskas <tom@mrazauskas.de>
2026-08-20 17:50:57 +00:00
Jake Bailey 5f647a841a Apply the TypeScript 7 repository layout 2026-08-19 18:27:27 -07:00