14 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
Wesley Wigham
112e860602
Allow references to the global Symbol in computed property names under isolatedDeclarations (#58771) 2024-06-04 12:55:24 -07:00
Titian Cernicova-Dragomir
842cf177db
Improved errors for required parameters with default values in isolated declaration (#58637) 2024-05-24 11:50:47 -07:00
Wesley Wigham
b3f3bb3d38
Propagate the error any type in union and intersection construction (#58610)
Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2024-05-23 09:38:57 -07:00
Titian Cernicova-Dragomir
a203ace7af
Ban inferred return type on async and generator functions. (#58628) 2024-05-23 09:29:49 -07:00
Titian Cernicova-Dragomir
8537bb72eb
Error if type node uses inaccessible type in isolated declarations (#58620) 2024-05-22 15:51:11 -07:00
Wesley Wigham
b682ed4504
Lock down computed names in object literals and classes under --isolatedDeclarations (#58596) 2024-05-22 12:28:07 -07:00
Wesley Wigham
79a851426c
Attempt to reuse type parameter constraint nodes (#58539) 2024-05-16 14:51:09 -07:00
Titian Cernicova-Dragomir
4ece0a381b
Partially reuse type nodes (#58516) 2024-05-14 13:56:41 -07:00
Wesley Wigham
2d47953d9d
Declaration emit should avoid issuing errors on unresolved names (#58536) 2024-05-14 12:49:05 -07:00
Wesley Wigham
56cfd6c3a8
Preserve return type nodes which resolve to errors in declaration emit (#58522) 2024-05-13 11:55:01 -07:00
Wesley Wigham
fece7f11c0
Preserve type nodes which resolve to errors in declaration emit output (#58475) 2024-05-08 13:29:51 -07:00
Wesley Wigham
0d3c48109d
Declaration emit should retain (instead of elide) unresolved computed names (#58428)
Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2024-05-07 05:42:13 -07:00
Wesley Wigham
0b71b81d7d
Add transpileDeclaration API method (#58261) 2024-04-23 17:09:47 -07:00