typescript 6.0.3 → 7.0.1-rc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{ThirdPartyNoticeText.txt → NOTICE.txt} +249 -6
- package/README.md +24 -50
- package/bin/tsc +1 -1
- package/dist/api/async/api.d.ts +300 -0
- package/dist/api/async/api.d.ts.map +1 -0
- package/dist/api/async/api.js +1072 -0
- package/dist/api/async/api.js.map +1 -0
- package/dist/api/async/client.d.ts +22 -0
- package/dist/api/async/client.d.ts.map +1 -0
- package/dist/api/async/client.js +140 -0
- package/dist/api/async/client.js.map +1 -0
- package/dist/api/async/types.d.ts +229 -0
- package/dist/api/async/types.d.ts.map +1 -0
- package/dist/api/async/types.js +2 -0
- package/dist/api/async/types.js.map +1 -0
- package/dist/api/fs.d.ts +23 -0
- package/dist/api/fs.d.ts.map +1 -0
- package/dist/api/fs.js +109 -0
- package/dist/api/fs.js.map +1 -0
- package/dist/api/node/encoder.d.ts +15 -0
- package/dist/api/node/encoder.d.ts.map +1 -0
- package/dist/api/node/encoder.generated.d.ts +5 -0
- package/dist/api/node/encoder.generated.d.ts.map +1 -0
- package/dist/api/node/encoder.generated.js +74 -0
- package/dist/api/node/encoder.generated.js.map +1 -0
- package/dist/api/node/encoder.js +304 -0
- package/dist/api/node/encoder.js.map +1 -0
- package/dist/api/node/msgpack.d.ts +32 -0
- package/dist/api/node/msgpack.d.ts.map +1 -0
- package/dist/api/node/msgpack.js +212 -0
- package/dist/api/node/msgpack.js.map +1 -0
- package/dist/api/node/node.d.ts +62 -0
- package/dist/api/node/node.d.ts.map +1 -0
- package/dist/api/node/node.generated.d.ts +171 -0
- package/dist/api/node/node.generated.d.ts.map +1 -0
- package/dist/api/node/node.generated.js +814 -0
- package/dist/api/node/node.generated.js.map +1 -0
- package/dist/api/node/node.infrastructure.d.ts +51 -0
- package/dist/api/node/node.infrastructure.d.ts.map +1 -0
- package/dist/api/node/node.infrastructure.js +122 -0
- package/dist/api/node/node.infrastructure.js.map +1 -0
- package/dist/api/node/node.js +214 -0
- package/dist/api/node/node.js.map +1 -0
- package/dist/api/node/protocol.d.ts +29 -0
- package/dist/api/node/protocol.d.ts.map +1 -0
- package/dist/api/node/protocol.generated.d.ts +4 -0
- package/dist/api/node/protocol.generated.d.ts.map +1 -0
- package/dist/api/node/protocol.generated.js +241 -0
- package/dist/api/node/protocol.generated.js.map +1 -0
- package/dist/api/node/protocol.js +30 -0
- package/dist/api/node/protocol.js.map +1 -0
- package/dist/api/objectRegistry.d.ts +40 -0
- package/dist/api/objectRegistry.d.ts.map +1 -0
- package/dist/api/objectRegistry.js +61 -0
- package/dist/api/objectRegistry.js.map +1 -0
- package/dist/api/options.d.ts +24 -0
- package/dist/api/options.d.ts.map +1 -0
- package/dist/api/options.js +11 -0
- package/dist/api/options.js.map +1 -0
- package/dist/api/path.d.ts +110 -0
- package/dist/api/path.d.ts.map +1 -0
- package/dist/api/path.js +508 -0
- package/dist/api/path.js.map +1 -0
- package/dist/api/proto.d.ts +186 -0
- package/dist/api/proto.d.ts.map +1 -0
- package/dist/api/proto.js +22 -0
- package/dist/api/proto.js.map +1 -0
- package/dist/api/sourceFileCache.d.ts +79 -0
- package/dist/api/sourceFileCache.d.ts.map +1 -0
- package/dist/api/sourceFileCache.js +169 -0
- package/dist/api/sourceFileCache.js.map +1 -0
- package/dist/api/sync/api.d.ts +300 -0
- package/dist/api/sync/api.d.ts.map +1 -0
- package/dist/api/sync/api.js +1080 -0
- package/dist/api/sync/api.js.map +1 -0
- package/dist/api/sync/client.d.ts +13 -0
- package/dist/api/sync/client.d.ts.map +1 -0
- package/dist/api/sync/client.js +72 -0
- package/dist/api/sync/client.js.map +1 -0
- package/dist/api/sync/types.d.ts +229 -0
- package/dist/api/sync/types.d.ts.map +1 -0
- package/dist/api/sync/types.js +2 -0
- package/dist/api/sync/types.js.map +1 -0
- package/dist/api/syncChannel.d.ts +111 -0
- package/dist/api/syncChannel.d.ts.map +1 -0
- package/dist/api/syncChannel.js +488 -0
- package/dist/api/syncChannel.js.map +1 -0
- package/dist/ast/ast.d.ts +66 -0
- package/dist/ast/ast.d.ts.map +1 -0
- package/dist/ast/ast.generated.d.ts +1161 -0
- package/dist/ast/ast.generated.d.ts.map +1 -0
- package/dist/ast/ast.generated.js +4 -0
- package/dist/ast/ast.generated.js.map +1 -0
- package/dist/ast/ast.js +7 -0
- package/dist/ast/ast.js.map +1 -0
- package/dist/ast/astnav.d.ts +19 -0
- package/dist/ast/astnav.d.ts.map +1 -0
- package/dist/ast/astnav.js +596 -0
- package/dist/ast/astnav.js.map +1 -0
- package/dist/ast/clone.d.ts +16 -0
- package/dist/ast/clone.d.ts.map +1 -0
- package/dist/ast/clone.js +104 -0
- package/dist/ast/clone.js.map +1 -0
- package/dist/ast/factory.generated.d.ts +512 -0
- package/dist/ast/factory.generated.d.ts.map +1 -0
- package/dist/ast/factory.generated.js +3023 -0
- package/dist/ast/factory.generated.js.map +1 -0
- package/dist/ast/index.d.ts +18 -0
- package/dist/ast/index.d.ts.map +1 -0
- package/dist/ast/index.js +18 -0
- package/dist/ast/index.js.map +1 -0
- package/dist/ast/is.d.ts +34 -0
- package/dist/ast/is.d.ts.map +1 -0
- package/dist/ast/is.generated.d.ts +329 -0
- package/dist/ast/is.generated.d.ts.map +1 -0
- package/dist/ast/is.generated.js +1104 -0
- package/dist/ast/is.generated.js.map +1 -0
- package/dist/ast/is.js +226 -0
- package/dist/ast/is.js.map +1 -0
- package/dist/ast/scanner.d.ts +97 -0
- package/dist/ast/scanner.d.ts.map +1 -0
- package/dist/ast/scanner.js +2230 -0
- package/dist/ast/scanner.js.map +1 -0
- package/dist/ast/utils.d.ts +5 -0
- package/dist/ast/utils.d.ts.map +1 -0
- package/dist/ast/utils.js +27 -0
- package/dist/ast/utils.js.map +1 -0
- package/dist/ast/visitor.d.ts +14 -0
- package/dist/ast/visitor.d.ts.map +1 -0
- package/dist/ast/visitor.generated.d.ts +50 -0
- package/dist/ast/visitor.generated.d.ts.map +1 -0
- package/dist/ast/visitor.generated.js +978 -0
- package/dist/ast/visitor.generated.js.map +1 -0
- package/dist/ast/visitor.js +47 -0
- package/dist/ast/visitor.js.map +1 -0
- package/dist/enums/characterCodes.d.ts +2 -0
- package/dist/enums/characterCodes.d.ts.map +1 -0
- package/dist/enums/characterCodes.enum.d.ts +129 -0
- package/dist/enums/characterCodes.enum.d.ts.map +1 -0
- package/dist/enums/characterCodes.enum.js +132 -0
- package/dist/enums/characterCodes.enum.js.map +1 -0
- package/dist/enums/characterCodes.js +130 -0
- package/dist/enums/characterCodes.js.map +1 -0
- package/dist/enums/commentDirectiveType.d.ts +2 -0
- package/dist/enums/commentDirectiveType.d.ts.map +1 -0
- package/dist/enums/commentDirectiveType.enum.d.ts +5 -0
- package/dist/enums/commentDirectiveType.enum.d.ts.map +1 -0
- package/dist/enums/commentDirectiveType.enum.js +6 -0
- package/dist/enums/commentDirectiveType.enum.js.map +1 -0
- package/dist/enums/commentDirectiveType.js +6 -0
- package/dist/enums/commentDirectiveType.js.map +1 -0
- package/dist/enums/completionItemKind.d.ts +2 -0
- package/dist/enums/completionItemKind.d.ts.map +1 -0
- package/dist/enums/completionItemKind.enum.d.ts +28 -0
- package/dist/enums/completionItemKind.enum.d.ts.map +1 -0
- package/dist/enums/completionItemKind.enum.js +30 -0
- package/dist/enums/completionItemKind.enum.js.map +1 -0
- package/dist/enums/completionItemKind.js +30 -0
- package/dist/enums/completionItemKind.js.map +1 -0
- package/dist/enums/diagnosticCategory.d.ts +2 -0
- package/dist/enums/diagnosticCategory.d.ts.map +1 -0
- package/dist/enums/diagnosticCategory.enum.d.ts +7 -0
- package/dist/enums/diagnosticCategory.enum.d.ts.map +1 -0
- package/dist/enums/diagnosticCategory.enum.js +9 -0
- package/dist/enums/diagnosticCategory.enum.js.map +1 -0
- package/dist/enums/diagnosticCategory.js +9 -0
- package/dist/enums/diagnosticCategory.js.map +1 -0
- package/dist/enums/elementFlags.d.ts +2 -0
- package/dist/enums/elementFlags.d.ts.map +1 -0
- package/dist/enums/elementFlags.enum.d.ts +12 -0
- package/dist/enums/elementFlags.enum.d.ts.map +1 -0
- package/dist/enums/elementFlags.enum.js +14 -0
- package/dist/enums/elementFlags.enum.js.map +1 -0
- package/dist/enums/elementFlags.js +14 -0
- package/dist/enums/elementFlags.js.map +1 -0
- package/dist/enums/languageVariant.d.ts +2 -0
- package/dist/enums/languageVariant.d.ts.map +1 -0
- package/dist/enums/languageVariant.enum.d.ts +5 -0
- package/dist/enums/languageVariant.enum.d.ts.map +1 -0
- package/dist/enums/languageVariant.enum.js +6 -0
- package/dist/enums/languageVariant.enum.js.map +1 -0
- package/dist/enums/languageVariant.js +6 -0
- package/dist/enums/languageVariant.js.map +1 -0
- package/dist/enums/modifierFlags.d.ts +2 -0
- package/dist/enums/modifierFlags.d.ts.map +1 -0
- package/dist/enums/modifierFlags.enum.d.ts +42 -0
- package/dist/enums/modifierFlags.enum.d.ts.map +1 -0
- package/dist/enums/modifierFlags.enum.js +44 -0
- package/dist/enums/modifierFlags.enum.js.map +1 -0
- package/dist/enums/modifierFlags.js +44 -0
- package/dist/enums/modifierFlags.js.map +1 -0
- package/dist/enums/nodeBuilderFlags.d.ts +2 -0
- package/dist/enums/nodeBuilderFlags.d.ts.map +1 -0
- package/dist/enums/nodeBuilderFlags.enum.d.ts +36 -0
- package/dist/enums/nodeBuilderFlags.enum.d.ts.map +1 -0
- package/dist/enums/nodeBuilderFlags.enum.js +38 -0
- package/dist/enums/nodeBuilderFlags.enum.js.map +1 -0
- package/dist/enums/nodeBuilderFlags.js +38 -0
- package/dist/enums/nodeBuilderFlags.js.map +1 -0
- package/dist/enums/nodeFlags.d.ts +2 -0
- package/dist/enums/nodeFlags.d.ts.map +1 -0
- package/dist/enums/nodeFlags.enum.d.ts +44 -0
- package/dist/enums/nodeFlags.enum.d.ts.map +1 -0
- package/dist/enums/nodeFlags.enum.js +46 -0
- package/dist/enums/nodeFlags.enum.js.map +1 -0
- package/dist/enums/nodeFlags.js +46 -0
- package/dist/enums/nodeFlags.js.map +1 -0
- package/dist/enums/objectFlags.d.ts +2 -0
- package/dist/enums/objectFlags.d.ts.map +1 -0
- package/dist/enums/objectFlags.enum.d.ts +50 -0
- package/dist/enums/objectFlags.enum.d.ts.map +1 -0
- package/dist/enums/objectFlags.enum.js +52 -0
- package/dist/enums/objectFlags.enum.js.map +1 -0
- package/dist/enums/objectFlags.js +52 -0
- package/dist/enums/objectFlags.js.map +1 -0
- package/dist/enums/outerExpressionKinds.d.ts +2 -0
- package/dist/enums/outerExpressionKinds.d.ts.map +1 -0
- package/dist/enums/outerExpressionKinds.enum.d.ts +12 -0
- package/dist/enums/outerExpressionKinds.enum.d.ts.map +1 -0
- package/dist/enums/outerExpressionKinds.enum.js +14 -0
- package/dist/enums/outerExpressionKinds.enum.js.map +1 -0
- package/dist/enums/outerExpressionKinds.js +14 -0
- package/dist/enums/outerExpressionKinds.js.map +1 -0
- package/dist/enums/regularExpressionFlags.d.ts +2 -0
- package/dist/enums/regularExpressionFlags.d.ts.map +1 -0
- package/dist/enums/regularExpressionFlags.enum.d.ts +13 -0
- package/dist/enums/regularExpressionFlags.enum.d.ts.map +1 -0
- package/dist/enums/regularExpressionFlags.enum.js +14 -0
- package/dist/enums/regularExpressionFlags.enum.js.map +1 -0
- package/dist/enums/regularExpressionFlags.js +14 -0
- package/dist/enums/regularExpressionFlags.js.map +1 -0
- package/dist/enums/scriptKind.d.ts +2 -0
- package/dist/enums/scriptKind.d.ts.map +1 -0
- package/dist/enums/scriptKind.enum.d.ts +11 -0
- package/dist/enums/scriptKind.enum.d.ts.map +1 -0
- package/dist/enums/scriptKind.enum.js +12 -0
- package/dist/enums/scriptKind.enum.js.map +1 -0
- package/dist/enums/scriptKind.js +12 -0
- package/dist/enums/scriptKind.js.map +1 -0
- package/dist/enums/scriptTarget.d.ts +2 -0
- package/dist/enums/scriptTarget.d.ts.map +1 -0
- package/dist/enums/scriptTarget.enum.d.ts +17 -0
- package/dist/enums/scriptTarget.enum.d.ts.map +1 -0
- package/dist/enums/scriptTarget.enum.js +18 -0
- package/dist/enums/scriptTarget.enum.js.map +1 -0
- package/dist/enums/scriptTarget.js +18 -0
- package/dist/enums/scriptTarget.js.map +1 -0
- package/dist/enums/signatureFlags.d.ts +2 -0
- package/dist/enums/signatureFlags.d.ts.map +1 -0
- package/dist/enums/signatureFlags.enum.d.ts +15 -0
- package/dist/enums/signatureFlags.enum.d.ts.map +1 -0
- package/dist/enums/signatureFlags.enum.js +17 -0
- package/dist/enums/signatureFlags.enum.js.map +1 -0
- package/dist/enums/signatureFlags.js +17 -0
- package/dist/enums/signatureFlags.js.map +1 -0
- package/dist/enums/signatureKind.d.ts +2 -0
- package/dist/enums/signatureKind.d.ts.map +1 -0
- package/dist/enums/signatureKind.enum.d.ts +5 -0
- package/dist/enums/signatureKind.enum.d.ts.map +1 -0
- package/dist/enums/signatureKind.enum.js +7 -0
- package/dist/enums/signatureKind.enum.js.map +1 -0
- package/dist/enums/signatureKind.js +7 -0
- package/dist/enums/signatureKind.js.map +1 -0
- package/dist/enums/symbolFlags.d.ts +2 -0
- package/dist/enums/symbolFlags.d.ts.map +1 -0
- package/dist/enums/symbolFlags.enum.d.ts +71 -0
- package/dist/enums/symbolFlags.enum.d.ts.map +1 -0
- package/dist/enums/symbolFlags.enum.js +73 -0
- package/dist/enums/symbolFlags.enum.js.map +1 -0
- package/dist/enums/symbolFlags.js +73 -0
- package/dist/enums/symbolFlags.js.map +1 -0
- package/dist/enums/syntaxKind.d.ts +2 -0
- package/dist/enums/syntaxKind.d.ts.map +1 -0
- package/dist/enums/syntaxKind.enum.d.ts +389 -0
- package/dist/enums/syntaxKind.enum.d.ts.map +1 -0
- package/dist/enums/syntaxKind.enum.js +391 -0
- package/dist/enums/syntaxKind.enum.js.map +1 -0
- package/dist/enums/syntaxKind.js +391 -0
- package/dist/enums/syntaxKind.js.map +1 -0
- package/dist/enums/tokenFlags.d.ts +2 -0
- package/dist/enums/tokenFlags.d.ts.map +1 -0
- package/dist/enums/tokenFlags.enum.d.ts +30 -0
- package/dist/enums/tokenFlags.enum.d.ts.map +1 -0
- package/dist/enums/tokenFlags.enum.js +32 -0
- package/dist/enums/tokenFlags.enum.js.map +1 -0
- package/dist/enums/tokenFlags.js +32 -0
- package/dist/enums/tokenFlags.js.map +1 -0
- package/dist/enums/typeFlags.d.ts +2 -0
- package/dist/enums/typeFlags.d.ts.map +1 -0
- package/dist/enums/typeFlags.enum.d.ts +76 -0
- package/dist/enums/typeFlags.enum.d.ts.map +1 -0
- package/dist/enums/typeFlags.enum.js +78 -0
- package/dist/enums/typeFlags.enum.js.map +1 -0
- package/dist/enums/typeFlags.js +78 -0
- package/dist/enums/typeFlags.js.map +1 -0
- package/dist/enums/typePredicateKind.d.ts +2 -0
- package/dist/enums/typePredicateKind.d.ts.map +1 -0
- package/dist/enums/typePredicateKind.enum.d.ts +7 -0
- package/dist/enums/typePredicateKind.enum.d.ts.map +1 -0
- package/dist/enums/typePredicateKind.enum.js +9 -0
- package/dist/enums/typePredicateKind.enum.js.map +1 -0
- package/dist/enums/typePredicateKind.js +9 -0
- package/dist/enums/typePredicateKind.js.map +1 -0
- package/lib/getExePath.d.ts +2 -0
- package/lib/getExePath.js +67 -0
- package/lib/tsc.js +28 -8
- package/package.json +61 -93
- package/vendor/vscode-jsonrpc/License.txt +11 -0
- package/vendor/vscode-jsonrpc/README.md +54 -0
- package/vendor/vscode-jsonrpc/lib/browser/main.d.ts +17 -0
- package/vendor/vscode-jsonrpc/lib/browser/main.js +83 -0
- package/vendor/vscode-jsonrpc/lib/browser/ril.d.ts +22 -0
- package/vendor/vscode-jsonrpc/lib/browser/ril.js +210 -0
- package/vendor/vscode-jsonrpc/lib/common/api.d.ts +14 -0
- package/vendor/vscode-jsonrpc/lib/common/api.js +87 -0
- package/vendor/vscode-jsonrpc/lib/common/cancellation.d.ts +32 -0
- package/vendor/vscode-jsonrpc/lib/common/cancellation.js +132 -0
- package/vendor/vscode-jsonrpc/lib/common/connection.d.ts +367 -0
- package/vendor/vscode-jsonrpc/lib/common/connection.js +1271 -0
- package/vendor/vscode-jsonrpc/lib/common/disposable.d.ts +9 -0
- package/vendor/vscode-jsonrpc/lib/common/disposable.js +16 -0
- package/vendor/vscode-jsonrpc/lib/common/encoding.d.ts +52 -0
- package/vendor/vscode-jsonrpc/lib/common/encoding.js +70 -0
- package/vendor/vscode-jsonrpc/lib/common/events.d.ts +39 -0
- package/vendor/vscode-jsonrpc/lib/common/events.js +135 -0
- package/vendor/vscode-jsonrpc/lib/common/is.d.ts +7 -0
- package/vendor/vscode-jsonrpc/lib/common/is.js +34 -0
- package/vendor/vscode-jsonrpc/lib/common/linkedMap.d.ts +55 -0
- package/vendor/vscode-jsonrpc/lib/common/linkedMap.js +412 -0
- package/vendor/vscode-jsonrpc/lib/common/messageBuffer.d.ts +18 -0
- package/vendor/vscode-jsonrpc/lib/common/messageBuffer.js +155 -0
- package/vendor/vscode-jsonrpc/lib/common/messageReader.d.ts +77 -0
- package/vendor/vscode-jsonrpc/lib/common/messageReader.js +246 -0
- package/vendor/vscode-jsonrpc/lib/common/messageWriter.d.ts +60 -0
- package/vendor/vscode-jsonrpc/lib/common/messageWriter.js +157 -0
- package/vendor/vscode-jsonrpc/lib/common/messages.d.ts +369 -0
- package/vendor/vscode-jsonrpc/lib/common/messages.js +436 -0
- package/vendor/vscode-jsonrpc/lib/common/ral.d.ts +74 -0
- package/vendor/vscode-jsonrpc/lib/common/ral.js +23 -0
- package/vendor/vscode-jsonrpc/lib/common/semaphore.d.ts +10 -0
- package/vendor/vscode-jsonrpc/lib/common/semaphore.js +74 -0
- package/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.d.ts +15 -0
- package/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +77 -0
- package/vendor/vscode-jsonrpc/lib/node/main.d.ts +58 -0
- package/vendor/vscode-jsonrpc/lib/node/main.js +289 -0
- package/vendor/vscode-jsonrpc/lib/node/ril.d.ts +12 -0
- package/vendor/vscode-jsonrpc/lib/node/ril.js +163 -0
- package/vendor/vscode-jsonrpc/package.json +54 -0
- package/vendor/vscode-jsonrpc/typings/thenable.d.ts +5 -0
- package/SECURITY.md +0 -39
- package/bin/tsserver +0 -2
- package/lib/_tsc.js +0 -134465
- package/lib/_tsserver.js +0 -659
- package/lib/_typingsInstaller.js +0 -222
- package/lib/cs/diagnosticMessages.generated.json +0 -2129
- package/lib/de/diagnosticMessages.generated.json +0 -2125
- package/lib/es/diagnosticMessages.generated.json +0 -2129
- package/lib/fr/diagnosticMessages.generated.json +0 -2129
- package/lib/it/diagnosticMessages.generated.json +0 -2125
- package/lib/ja/diagnosticMessages.generated.json +0 -2129
- package/lib/ko/diagnosticMessages.generated.json +0 -2129
- package/lib/lib.d.ts +0 -20
- package/lib/lib.decorators.d.ts +0 -382
- package/lib/lib.decorators.legacy.d.ts +0 -20
- package/lib/lib.dom.asynciterable.d.ts +0 -18
- package/lib/lib.dom.d.ts +0 -45125
- package/lib/lib.dom.iterable.d.ts +0 -18
- package/lib/lib.es2015.collection.d.ts +0 -150
- package/lib/lib.es2015.core.d.ts +0 -595
- package/lib/lib.es2015.d.ts +0 -26
- package/lib/lib.es2015.generator.d.ts +0 -75
- package/lib/lib.es2015.iterable.d.ts +0 -603
- package/lib/lib.es2015.promise.d.ts +0 -79
- package/lib/lib.es2015.proxy.d.ts +0 -126
- package/lib/lib.es2015.reflect.d.ts +0 -142
- package/lib/lib.es2015.symbol.d.ts +0 -44
- package/lib/lib.es2015.symbol.wellknown.d.ts +0 -324
- package/lib/lib.es2016.array.include.d.ts +0 -114
- package/lib/lib.es2016.d.ts +0 -19
- package/lib/lib.es2016.full.d.ts +0 -21
- package/lib/lib.es2016.intl.d.ts +0 -29
- package/lib/lib.es2017.arraybuffer.d.ts +0 -19
- package/lib/lib.es2017.d.ts +0 -24
- package/lib/lib.es2017.date.d.ts +0 -29
- package/lib/lib.es2017.full.d.ts +0 -21
- package/lib/lib.es2017.intl.d.ts +0 -42
- package/lib/lib.es2017.object.d.ts +0 -47
- package/lib/lib.es2017.sharedmemory.d.ts +0 -133
- package/lib/lib.es2017.string.d.ts +0 -43
- package/lib/lib.es2017.typedarrays.d.ts +0 -51
- package/lib/lib.es2018.asyncgenerator.d.ts +0 -75
- package/lib/lib.es2018.asynciterable.d.ts +0 -51
- package/lib/lib.es2018.d.ts +0 -22
- package/lib/lib.es2018.full.d.ts +0 -22
- package/lib/lib.es2018.intl.d.ts +0 -81
- package/lib/lib.es2018.promise.d.ts +0 -28
- package/lib/lib.es2018.regexp.d.ts +0 -35
- package/lib/lib.es2019.array.d.ts +0 -77
- package/lib/lib.es2019.d.ts +0 -22
- package/lib/lib.es2019.full.d.ts +0 -22
- package/lib/lib.es2019.intl.d.ts +0 -21
- package/lib/lib.es2019.object.d.ts +0 -31
- package/lib/lib.es2019.string.d.ts +0 -35
- package/lib/lib.es2019.symbol.d.ts +0 -22
- package/lib/lib.es2020.bigint.d.ts +0 -763
- package/lib/lib.es2020.d.ts +0 -25
- package/lib/lib.es2020.date.d.ts +0 -40
- package/lib/lib.es2020.full.d.ts +0 -22
- package/lib/lib.es2020.intl.d.ts +0 -472
- package/lib/lib.es2020.number.d.ts +0 -26
- package/lib/lib.es2020.promise.d.ts +0 -45
- package/lib/lib.es2020.sharedmemory.d.ts +0 -97
- package/lib/lib.es2020.string.d.ts +0 -42
- package/lib/lib.es2020.symbol.wellknown.d.ts +0 -39
- package/lib/lib.es2021.d.ts +0 -21
- package/lib/lib.es2021.full.d.ts +0 -22
- package/lib/lib.es2021.intl.d.ts +0 -164
- package/lib/lib.es2021.promise.d.ts +0 -46
- package/lib/lib.es2021.string.d.ts +0 -31
- package/lib/lib.es2021.weakref.d.ts +0 -76
- package/lib/lib.es2022.array.d.ts +0 -119
- package/lib/lib.es2022.d.ts +0 -23
- package/lib/lib.es2022.error.d.ts +0 -73
- package/lib/lib.es2022.full.d.ts +0 -22
- package/lib/lib.es2022.intl.d.ts +0 -143
- package/lib/lib.es2022.object.d.ts +0 -24
- package/lib/lib.es2022.regexp.d.ts +0 -37
- package/lib/lib.es2022.string.d.ts +0 -23
- package/lib/lib.es2023.array.d.ts +0 -922
- package/lib/lib.es2023.collection.d.ts +0 -19
- package/lib/lib.es2023.d.ts +0 -20
- package/lib/lib.es2023.full.d.ts +0 -22
- package/lib/lib.es2023.intl.d.ts +0 -62
- package/lib/lib.es2024.arraybuffer.d.ts +0 -63
- package/lib/lib.es2024.collection.d.ts +0 -27
- package/lib/lib.es2024.d.ts +0 -24
- package/lib/lib.es2024.full.d.ts +0 -22
- package/lib/lib.es2024.object.d.ts +0 -27
- package/lib/lib.es2024.promise.d.ts +0 -33
- package/lib/lib.es2024.regexp.d.ts +0 -23
- package/lib/lib.es2024.sharedmemory.d.ts +0 -66
- package/lib/lib.es2024.string.d.ts +0 -27
- package/lib/lib.es2025.collection.d.ts +0 -94
- package/lib/lib.es2025.d.ts +0 -23
- package/lib/lib.es2025.float16.d.ts +0 -443
- package/lib/lib.es2025.full.d.ts +0 -22
- package/lib/lib.es2025.intl.d.ts +0 -200
- package/lib/lib.es2025.iterator.d.ts +0 -146
- package/lib/lib.es2025.promise.d.ts +0 -32
- package/lib/lib.es2025.regexp.d.ts +0 -30
- package/lib/lib.es5.d.ts +0 -4599
- package/lib/lib.es6.d.ts +0 -21
- package/lib/lib.esnext.array.d.ts +0 -33
- package/lib/lib.esnext.collection.d.ts +0 -47
- package/lib/lib.esnext.d.ts +0 -27
- package/lib/lib.esnext.date.d.ts +0 -21
- package/lib/lib.esnext.decorators.d.ts +0 -26
- package/lib/lib.esnext.disposable.d.ts +0 -191
- package/lib/lib.esnext.error.d.ts +0 -22
- package/lib/lib.esnext.full.d.ts +0 -22
- package/lib/lib.esnext.intl.d.ts +0 -107
- package/lib/lib.esnext.sharedmemory.d.ts +0 -23
- package/lib/lib.esnext.temporal.d.ts +0 -485
- package/lib/lib.esnext.typedarrays.d.ts +0 -90
- package/lib/lib.scripthost.d.ts +0 -320
- package/lib/lib.webworker.asynciterable.d.ts +0 -18
- package/lib/lib.webworker.d.ts +0 -15606
- package/lib/lib.webworker.importscripts.d.ts +0 -21
- package/lib/lib.webworker.iterable.d.ts +0 -18
- package/lib/pl/diagnosticMessages.generated.json +0 -2129
- package/lib/pt-br/diagnosticMessages.generated.json +0 -2129
- package/lib/ru/diagnosticMessages.generated.json +0 -2125
- package/lib/tr/diagnosticMessages.generated.json +0 -2129
- package/lib/tsserver.js +0 -8
- package/lib/tsserverlibrary.d.ts +0 -17
- package/lib/tsserverlibrary.js +0 -21
- package/lib/typesMap.json +0 -497
- package/lib/typescript.d.ts +0 -11448
- package/lib/typescript.js +0 -201039
- package/lib/typingsInstaller.js +0 -8
- package/lib/watchGuard.js +0 -53
- package/lib/zh-cn/diagnosticMessages.generated.json +0 -2129
- package/lib/zh-tw/diagnosticMessages.generated.json +0 -2125
- /package/{LICENSE.txt → LICENSE} +0 -0
|
@@ -1,10 +1,20 @@
|
|
|
1
|
-
|
|
1
|
+
NOTICES AND INFORMATION
|
|
2
|
+
Do Not Translate or Localize
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
This software incorporates material from third parties.
|
|
5
|
+
Microsoft makes certain open source code available at https://3rdpartysource.microsoft.com,
|
|
6
|
+
or you may send a check or money order for US $5.00, including the product name,
|
|
7
|
+
the open source component name, platform, and version number, to:
|
|
8
|
+
|
|
9
|
+
Source Code Compliance Team
|
|
10
|
+
Microsoft Corporation
|
|
11
|
+
One Microsoft Way
|
|
12
|
+
Redmond, WA 98052
|
|
13
|
+
USA
|
|
14
|
+
|
|
15
|
+
Notwithstanding any other terms, you may reverse engineer this software to the extent
|
|
16
|
+
required to debug changes to any libraries licensed under the GNU Lesser General Public License.
|
|
4
17
|
|
|
5
|
-
---------------------------------------------
|
|
6
|
-
Third Party Code Components
|
|
7
|
-
--------------------------------------------
|
|
8
18
|
|
|
9
19
|
------------------- DefinitelyTyped --------------------
|
|
10
20
|
This file is based on or incorporates material from the projects listed below (collectively "Third Party Code"). Microsoft is not the original author of the Third Party Code. The original copyright notice and the license, under which Microsoft received such Third Party Code, are set forth below. Such licenses and notices are provided for informational purposes only. Microsoft, not the third party, licenses the Third Party Code to you under the terms set forth in the EULA for the Microsoft Product. Microsoft reserves all other rights not expressly granted under this agreement, whether by implication, estoppel or otherwise.
|
|
@@ -189,5 +199,238 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
|
189
199
|
MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
|
|
190
200
|
------------------------------------------------------
|
|
191
201
|
|
|
192
|
-
|
|
202
|
+
---------------------------------------------------------
|
|
203
|
+
|
|
204
|
+
github.com/zeebo/xxh3 v1.1.0 - BSD-2-Clause
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
Copyright (c) 2019, Jeff Wendling
|
|
208
|
+
Copyright (c) 2012-2014, Yann Collet
|
|
209
|
+
|
|
210
|
+
Copyright (c) <year> <owner> . All rights reserved.
|
|
211
|
+
|
|
212
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
213
|
+
|
|
214
|
+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
215
|
+
|
|
216
|
+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
217
|
+
|
|
218
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
219
|
+
|
|
220
|
+
---------------------------------------------------------
|
|
221
|
+
|
|
222
|
+
---------------------------------------------------------
|
|
223
|
+
|
|
224
|
+
github.com/go-json-experiment/json v0.0.0-20260601182631-00ed12fed2a6 - BSD-3-Clause
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
Copyright 2010 The Go Authors
|
|
228
|
+
Copyright 2011 The Go Authors
|
|
229
|
+
Copyright 2016 The Go Authors
|
|
230
|
+
Copyright 2018 The Go Authors
|
|
231
|
+
Copyright 2020 The Go Authors
|
|
232
|
+
Copyright 2021 The Go Authors
|
|
233
|
+
Copyright 2022 The Go Authors
|
|
234
|
+
Copyright 2023 The Go Authors
|
|
235
|
+
Copyright 2024 The Go Authors
|
|
236
|
+
Copyright (c) 2020 The Go Authors
|
|
237
|
+
|
|
238
|
+
Copyright (c) <year> <owner> . All rights reserved.
|
|
239
|
+
|
|
240
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
241
|
+
|
|
242
|
+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
243
|
+
|
|
244
|
+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
245
|
+
|
|
246
|
+
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
|
247
|
+
|
|
248
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
249
|
+
|
|
250
|
+
---------------------------------------------------------
|
|
251
|
+
|
|
252
|
+
---------------------------------------------------------
|
|
253
|
+
|
|
254
|
+
golang.org/x/sync v0.21.0 - BSD-3-Clause AND LicenseRef-scancode-google-patent-license-golang
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
Copyright 2009 The Go Authors
|
|
258
|
+
Copyright 2013 The Go Authors
|
|
259
|
+
Copyright 2016 The Go Authors
|
|
260
|
+
Copyright 2017 The Go Authors
|
|
261
|
+
Copyright 2019 The Go Authors
|
|
262
|
+
|
|
263
|
+
BSD-3-Clause AND LicenseRef-scancode-google-patent-license-golang
|
|
264
|
+
|
|
265
|
+
---------------------------------------------------------
|
|
266
|
+
|
|
267
|
+
---------------------------------------------------------
|
|
268
|
+
|
|
269
|
+
golang.org/x/sys v0.46.0 - BSD-3-Clause AND LicenseRef-scancode-google-patent-license-golang
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
Copyright 2009 The Go Authors
|
|
273
|
+
Copyright 2010 The Go Authors
|
|
274
|
+
Copyright 2011 The Go Authors
|
|
275
|
+
Copyright 2012 The Go Authors
|
|
276
|
+
Copyright 2013 The Go Authors
|
|
277
|
+
Copyright 2014 The Go Authors
|
|
278
|
+
Copyright 2015 The Go Authors
|
|
279
|
+
Copyright 2016 The Go Authors
|
|
280
|
+
Copyright 2017 The Go Authors
|
|
281
|
+
Copyright 2018 The Go Authors
|
|
282
|
+
Copyright 2019 The Go Authors
|
|
283
|
+
Copyright 2020 The Go Authors
|
|
284
|
+
Copyright 2021 The Go Authors
|
|
285
|
+
Copyright 2022 The Go Authors
|
|
286
|
+
Copyright 2023 The Go Authors
|
|
287
|
+
Copyright 2024 The Go Authors
|
|
288
|
+
Copyright 2025 The Go Authors
|
|
289
|
+
Copyright 2009,2010 The Go Authors
|
|
290
|
+
|
|
291
|
+
BSD-3-Clause AND LicenseRef-scancode-google-patent-license-golang
|
|
292
|
+
|
|
293
|
+
---------------------------------------------------------
|
|
294
|
+
|
|
295
|
+
---------------------------------------------------------
|
|
296
|
+
|
|
297
|
+
golang.org/x/term v0.44.0 - BSD-3-Clause AND LicenseRef-scancode-google-patent-license-golang
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
Copyright 2009 The Go Authors
|
|
301
|
+
Copyright 2011 The Go Authors
|
|
302
|
+
Copyright 2013 The Go Authors
|
|
303
|
+
Copyright 2019 The Go Authors
|
|
304
|
+
Copyright 2021 The Go Authors
|
|
305
|
+
|
|
306
|
+
BSD-3-Clause AND LicenseRef-scancode-google-patent-license-golang
|
|
307
|
+
|
|
308
|
+
---------------------------------------------------------
|
|
309
|
+
|
|
310
|
+
---------------------------------------------------------
|
|
311
|
+
|
|
312
|
+
golang.org/x/text v0.38.0 - BSD-3-Clause AND LicenseRef-scancode-google-patent-license-golang
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
(c) AeHa (c)
|
|
316
|
+
(c) EeAoq (c)
|
|
317
|
+
(c) EAiE (c) A
|
|
318
|
+
(c) lEEe (c) AE
|
|
319
|
+
(c) (c) AAEE (c)
|
|
320
|
+
(c) oav!A (c) AY
|
|
321
|
+
(c) aA"AE (c) 1AE (c)
|
|
322
|
+
Copyright 2009 The Go Authors
|
|
323
|
+
Copyright 2011 The Go Authors
|
|
324
|
+
Copyright 2012 The Go Authors
|
|
325
|
+
Copyright 2013 The Go Authors
|
|
326
|
+
Copyright 2014 The Go Authors
|
|
327
|
+
Copyright 2015 The Go Authors
|
|
328
|
+
Copyright 2016 The Go Authors
|
|
329
|
+
Copyright 2017 The Go Authors
|
|
330
|
+
Copyright 2018 The Go Authors
|
|
331
|
+
Copyright 2019 The Go Authors
|
|
332
|
+
Copyright 2021 The Go Authors
|
|
333
|
+
Copyright 2025 The Go Authors
|
|
334
|
+
|
|
335
|
+
BSD-3-Clause AND LicenseRef-scancode-google-patent-license-golang
|
|
336
|
+
|
|
337
|
+
---------------------------------------------------------
|
|
338
|
+
|
|
339
|
+
---------------------------------------------------------
|
|
340
|
+
|
|
341
|
+
github.com/klauspost/cpuid/v2 v2.2.10 - MIT
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
Copyright (c) 2015 Klaus Post
|
|
345
|
+
Copyright (c) 2020 Klaus Post
|
|
346
|
+
Copyright (c) 2021 Klaus Post
|
|
347
|
+
Copyright 2018 The Go Authors
|
|
348
|
+
Copyright (c) 2015- Klaus Post & Contributors
|
|
349
|
+
|
|
350
|
+
MIT License
|
|
351
|
+
|
|
352
|
+
Copyright (c) <year> <copyright holders>
|
|
353
|
+
|
|
354
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
355
|
+
|
|
356
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
357
|
+
|
|
358
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
359
|
+
|
|
360
|
+
---------------------------------------------------------
|
|
361
|
+
|
|
362
|
+
---------------------------------------------------------
|
|
363
|
+
|
|
364
|
+
github.com/Microsoft/go-winio v0.6.2 - MIT
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
Copyright (c) 2015 Microsoft
|
|
368
|
+
Copyright 2013 The Go Authors
|
|
369
|
+
|
|
370
|
+
MIT License
|
|
371
|
+
|
|
372
|
+
Copyright (c) <year> <copyright holders>
|
|
373
|
+
|
|
374
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
375
|
+
|
|
376
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
377
|
+
|
|
378
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
379
|
+
|
|
380
|
+
---------------------------------------------------------
|
|
381
|
+
|
|
382
|
+
---------------------------------------------------------
|
|
383
|
+
|
|
384
|
+
github.com/mackerelio/go-osstat v0.2.7 - Apache-2.0
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
Copyright 2017-2019 Hatena Co., Ltd.
|
|
388
|
+
|
|
389
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
390
|
+
you may not use this file except in compliance with the License.
|
|
391
|
+
You may obtain a copy of the License at
|
|
392
|
+
|
|
393
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
394
|
+
|
|
395
|
+
Unless required by applicable law or agreed to in writing, software
|
|
396
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
397
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
398
|
+
See the License for the specific language governing permissions and
|
|
399
|
+
limitations under the License.
|
|
400
|
+
|
|
401
|
+
---------------------------------------------------------
|
|
402
|
+
|
|
403
|
+
---------------------------------------------------------
|
|
404
|
+
|
|
405
|
+
parcel-bundler/watcher 8926bb8b281733bbfcaf69bb4e62ab7a1431c42a - MIT
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
Copyright Node.js contributors
|
|
409
|
+
Copyright 2012-2020 Facebook, Inc.
|
|
410
|
+
Copyright (c) 2017-present Devon Govett
|
|
411
|
+
|
|
412
|
+
MIT License
|
|
413
|
+
|
|
414
|
+
Copyright (c) 2017-present Devon Govett
|
|
415
|
+
|
|
416
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
417
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
418
|
+
in the Software without restriction, including without limitation the rights
|
|
419
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
420
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
421
|
+
furnished to do so, subject to the following conditions:
|
|
422
|
+
|
|
423
|
+
The above copyright notice and this permission notice shall be included in all
|
|
424
|
+
copies or substantial portions of the Software.
|
|
425
|
+
|
|
426
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
427
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
428
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
429
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
430
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
431
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
432
|
+
SOFTWARE.
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
---------------------------------------------------------
|
|
193
436
|
|
package/README.md
CHANGED
|
@@ -1,50 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
npm install -D typescript@next
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Contribute
|
|
29
|
-
|
|
30
|
-
There are many ways to [contribute](https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md) to TypeScript.
|
|
31
|
-
* [Submit bugs](https://github.com/microsoft/TypeScript/issues) and help us verify fixes as they are checked in.
|
|
32
|
-
* Review the [source code changes](https://github.com/microsoft/TypeScript/pulls).
|
|
33
|
-
* Engage with other TypeScript users and developers on [StackOverflow](https://stackoverflow.com/questions/tagged/typescript).
|
|
34
|
-
* Help each other in the [TypeScript Community Discord](https://discord.gg/typescript).
|
|
35
|
-
* Join the [#typescript](https://twitter.com/search?q=%23TypeScript) discussion on Twitter.
|
|
36
|
-
* [Contribute bug fixes](https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md).
|
|
37
|
-
|
|
38
|
-
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see
|
|
39
|
-
the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com)
|
|
40
|
-
with any additional questions or comments.
|
|
41
|
-
|
|
42
|
-
## Documentation
|
|
43
|
-
|
|
44
|
-
* [TypeScript in 5 minutes](https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html)
|
|
45
|
-
* [Programming handbook](https://www.typescriptlang.org/docs/handbook/intro.html)
|
|
46
|
-
* [Homepage](https://www.typescriptlang.org/)
|
|
47
|
-
|
|
48
|
-
## Roadmap
|
|
49
|
-
|
|
50
|
-
For details on our planned features and future direction, please refer to our [roadmap](https://github.com/microsoft/TypeScript/wiki/Roadmap).
|
|
1
|
+
# TypeScript (Native Preview)
|
|
2
|
+
|
|
3
|
+
This package provides a preview build of [the native port of TypeScript](https://devblogs.microsoft.com/typescript/typescript-native-port/).
|
|
4
|
+
Not all features are implemented yet.
|
|
5
|
+
|
|
6
|
+
This package is intended for testing and experimentation.
|
|
7
|
+
It will eventually be replaced by the official TypeScript package.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
For TypeScript 7.0 RC and later, use `tsc` just like for TypeScript 6.0.
|
|
12
|
+
|
|
13
|
+
For other builds, use the `tsgo` command just like you would use `tsc`:
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
npx tsgo --help
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Issues and Feedback
|
|
20
|
+
|
|
21
|
+
The native port of TypeScript is still in progress.
|
|
22
|
+
We expect many gaps, but are seeking experimentation and feedback.
|
|
23
|
+
If you have found differences that are not yet known, we encourage you to leave feedback on [the issue tracker](https://github.com/microsoft/typescript-go/issues).
|
|
24
|
+
|
package/bin/tsc
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
2
|
+
import "../lib/tsc.js";
|
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
/// <reference path="../node/node.d.ts" preserve="true" />
|
|
2
|
+
import { CompletionItemKind } from "#enums/completionItemKind";
|
|
3
|
+
import { DiagnosticCategory } from "#enums/diagnosticCategory";
|
|
4
|
+
import { ElementFlags } from "#enums/elementFlags";
|
|
5
|
+
import { NodeBuilderFlags } from "#enums/nodeBuilderFlags";
|
|
6
|
+
import { ObjectFlags } from "#enums/objectFlags";
|
|
7
|
+
import { SignatureFlags } from "#enums/signatureFlags";
|
|
8
|
+
import { SignatureKind } from "#enums/signatureKind";
|
|
9
|
+
import { SymbolFlags } from "#enums/symbolFlags";
|
|
10
|
+
import { TypeFlags } from "#enums/typeFlags";
|
|
11
|
+
import { TypePredicateKind } from "#enums/typePredicateKind";
|
|
12
|
+
import { type Expression, type Identifier, ModifierFlags, type Node, type Path, type SourceFile, type SyntaxKind, type TypeNode } from "../../ast/index.ts";
|
|
13
|
+
import { type ObjectFactories, ObjectRegistry } from "../objectRegistry.ts";
|
|
14
|
+
import type { APIOptions, LSPConnectionOptions } from "../options.ts";
|
|
15
|
+
import type { ConfigResponse, DocumentIdentifier, DocumentPosition, LSPUpdateSnapshotParams, ProjectResponse, SignatureResponse, SymbolResponse, TypeResponse, UpdateSnapshotParams, UpdateSnapshotResponse } from "../proto.ts";
|
|
16
|
+
import { SourceFileCache } from "../sourceFileCache.ts";
|
|
17
|
+
import { Client, type ClientSocketOptions, type ClientSpawnOptions } from "./client.ts";
|
|
18
|
+
import type { AssertsIdentifierTypePredicate, AssertsThisTypePredicate, CompletionEntry, CompletionInfo, CompletionOptions, ConditionalType, Diagnostic, FreshableType, IdentifierTypePredicate, IndexedAccessType, IndexInfo, IndexType, InterfaceType, IntersectionType, IntrinsicType, LiteralType, ObjectType, StringMappingType, SubstitutionType, TemplateLiteralType, ThisTypePredicate, TupleType, Type, TypeParameter, TypePredicate, TypePredicateBase, TypeReference, UnionOrIntersectionType, UnionType } from "./types.ts";
|
|
19
|
+
export { CompletionItemKind, DiagnosticCategory, ElementFlags, ModifierFlags, NodeBuilderFlags, ObjectFlags, SignatureFlags, SignatureKind, SymbolFlags, TypeFlags, TypePredicateKind };
|
|
20
|
+
export type { APIOptions, ClientSocketOptions, ClientSpawnOptions, DocumentIdentifier, DocumentPosition, LSPConnectionOptions };
|
|
21
|
+
export type { AssertsIdentifierTypePredicate, AssertsThisTypePredicate, CompletionEntry, CompletionInfo, CompletionOptions, ConditionalType, Diagnostic, FreshableType, IdentifierTypePredicate, IndexedAccessType, IndexInfo, IndexType, InterfaceType, IntersectionType, IntrinsicType, LiteralType, ObjectType, StringMappingType, SubstitutionType, TemplateLiteralType, ThisTypePredicate, TupleType, Type, TypeParameter, TypePredicate, TypePredicateBase, TypeReference, UnionOrIntersectionType, UnionType };
|
|
22
|
+
export { documentURIToFileName, fileNameToDocumentURI } from "../path.ts";
|
|
23
|
+
export declare class API<FromLSP extends boolean = false> {
|
|
24
|
+
private client;
|
|
25
|
+
private sourceFileCache;
|
|
26
|
+
private toPath;
|
|
27
|
+
private initialized;
|
|
28
|
+
private activeSnapshots;
|
|
29
|
+
private latestSnapshot;
|
|
30
|
+
readonly internal: InternalAPI;
|
|
31
|
+
constructor(options: APIOptions | LSPConnectionOptions);
|
|
32
|
+
/**
|
|
33
|
+
* Create an API instance from an existing LSP connection's API session.
|
|
34
|
+
* Use this when connecting to an API pipe provided by an LSP server via custom/initializeAPISession.
|
|
35
|
+
*/
|
|
36
|
+
static fromLSPConnection(options: LSPConnectionOptions): Promise<API<true>>;
|
|
37
|
+
private ensureInitialized;
|
|
38
|
+
parseConfigFile(file: DocumentIdentifier): Promise<ConfigResponse>;
|
|
39
|
+
updateSnapshot(params?: FromLSP extends true ? LSPUpdateSnapshotParams : UpdateSnapshotParams): Promise<Snapshot>;
|
|
40
|
+
close(): Promise<void>;
|
|
41
|
+
clearSourceFileCache(): void;
|
|
42
|
+
}
|
|
43
|
+
export declare class InternalAPI {
|
|
44
|
+
private client;
|
|
45
|
+
private ensureInitialized;
|
|
46
|
+
/** @internal */
|
|
47
|
+
constructor(client: Client, ensureInitialized: () => Promise<void>);
|
|
48
|
+
startCPUProfile(dir: string): Promise<void>;
|
|
49
|
+
stopCPUProfile(): Promise<string>;
|
|
50
|
+
saveHeapProfile(dir: string): Promise<string>;
|
|
51
|
+
}
|
|
52
|
+
export declare class Snapshot {
|
|
53
|
+
readonly id: number;
|
|
54
|
+
private projectMap;
|
|
55
|
+
private toPath;
|
|
56
|
+
private client;
|
|
57
|
+
private objectRegistry;
|
|
58
|
+
private disposed;
|
|
59
|
+
private onDispose;
|
|
60
|
+
constructor(data: UpdateSnapshotResponse, client: Client, sourceFileCache: SourceFileCache, toPath: (fileName: string) => Path, onDispose: () => void);
|
|
61
|
+
getProjects(): readonly Project[];
|
|
62
|
+
getProject(configFileName: string): Project | undefined;
|
|
63
|
+
getDefaultProjectForFile(file: DocumentIdentifier): Promise<Project | undefined>;
|
|
64
|
+
[globalThis.Symbol.dispose](): void;
|
|
65
|
+
dispose(): Promise<void>;
|
|
66
|
+
isDisposed(): boolean;
|
|
67
|
+
private ensureNotDisposed;
|
|
68
|
+
}
|
|
69
|
+
declare class SnapshotObjectRegistry extends ObjectRegistry<Symbol, TypeObject, Signature> {
|
|
70
|
+
private client;
|
|
71
|
+
private snapshotId;
|
|
72
|
+
constructor(factories: ObjectFactories<Symbol, TypeObject, Signature>, client: Client, snapshotId: number);
|
|
73
|
+
fetchType<T extends Type>(source: Symbol | Signature | Type, method: string, handle: number | undefined): Promise<T>;
|
|
74
|
+
fetchSymbol(source: Symbol | Signature | Type, method: string, handle: number | undefined): Promise<Symbol>;
|
|
75
|
+
fetchSignature(source: Symbol | Signature | Type, method: string, handle: number | undefined): Promise<Signature>;
|
|
76
|
+
fetchTypes(source: Symbol | Signature | Type, method: string, handles?: readonly number[]): Promise<readonly Type[]>;
|
|
77
|
+
fetchSymbols(source: Symbol | Signature | Type, method: string, handles?: readonly number[]): Promise<readonly Symbol[]>;
|
|
78
|
+
}
|
|
79
|
+
export declare class Project {
|
|
80
|
+
readonly id: string;
|
|
81
|
+
readonly configFileName: string;
|
|
82
|
+
readonly compilerOptions: Record<string, unknown>;
|
|
83
|
+
readonly rootFiles: readonly string[];
|
|
84
|
+
readonly program: Program;
|
|
85
|
+
readonly checker: Checker;
|
|
86
|
+
readonly emitter: Emitter;
|
|
87
|
+
private client;
|
|
88
|
+
constructor(data: ProjectResponse, snapshotId: number, client: Client, objectRegistry: SnapshotObjectRegistry, sourceFileCache: SourceFileCache, toPath: (fileName: string) => Path);
|
|
89
|
+
}
|
|
90
|
+
export declare class Program {
|
|
91
|
+
private snapshotId;
|
|
92
|
+
private projectId;
|
|
93
|
+
private client;
|
|
94
|
+
private sourceFileCache;
|
|
95
|
+
private toPath;
|
|
96
|
+
private decoder;
|
|
97
|
+
constructor(snapshotId: number, projectId: string, client: Client, sourceFileCache: SourceFileCache, toPath: (fileName: string) => Path);
|
|
98
|
+
getSourceFile(file: DocumentIdentifier): Promise<SourceFile | undefined>;
|
|
99
|
+
/**
|
|
100
|
+
* Get syntactic (parse) diagnostics for a specific file or all files.
|
|
101
|
+
* @param file - Optional file to get diagnostics for. If omitted, returns diagnostics for all files.
|
|
102
|
+
*/
|
|
103
|
+
getSyntacticDiagnostics(file?: DocumentIdentifier): Promise<readonly Diagnostic[]>;
|
|
104
|
+
/**
|
|
105
|
+
* Get semantic (type-check) diagnostics for a specific file or all files.
|
|
106
|
+
* @param file - Optional file to get diagnostics for. If omitted, returns diagnostics for all files.
|
|
107
|
+
*/
|
|
108
|
+
getSemanticDiagnostics(file?: DocumentIdentifier): Promise<readonly Diagnostic[]>;
|
|
109
|
+
/**
|
|
110
|
+
* Get suggestion diagnostics for a specific file or all files.
|
|
111
|
+
* @param file - Optional file to get diagnostics for. If omitted, returns diagnostics for all files.
|
|
112
|
+
*/
|
|
113
|
+
getSuggestionDiagnostics(file?: DocumentIdentifier): Promise<readonly Diagnostic[]>;
|
|
114
|
+
/**
|
|
115
|
+
* Get declaration emit diagnostics for a specific file or all files.
|
|
116
|
+
* @param file - Optional file to get diagnostics for. If omitted, returns diagnostics for all files.
|
|
117
|
+
*/
|
|
118
|
+
getDeclarationDiagnostics(file?: DocumentIdentifier): Promise<readonly Diagnostic[]>;
|
|
119
|
+
/**
|
|
120
|
+
* Get config file parsing diagnostics for the project.
|
|
121
|
+
*/
|
|
122
|
+
getConfigFileParsingDiagnostics(): Promise<readonly Diagnostic[]>;
|
|
123
|
+
}
|
|
124
|
+
export declare class Checker {
|
|
125
|
+
private snapshotId;
|
|
126
|
+
private projectId;
|
|
127
|
+
private client;
|
|
128
|
+
private objectRegistry;
|
|
129
|
+
constructor(snapshotId: number, projectId: string, client: Client, objectRegistry: SnapshotObjectRegistry);
|
|
130
|
+
getSymbolAtLocation(node: Node): Promise<Symbol | undefined>;
|
|
131
|
+
getSymbolAtLocation(nodes: readonly Node[]): Promise<(Symbol | undefined)[]>;
|
|
132
|
+
getSymbolAtPosition(file: DocumentIdentifier, position: number): Promise<Symbol | undefined>;
|
|
133
|
+
getSymbolAtPosition(file: DocumentIdentifier, positions: readonly number[]): Promise<(Symbol | undefined)[]>;
|
|
134
|
+
getTypeOfSymbol(symbol: Symbol): Promise<Type | undefined>;
|
|
135
|
+
getTypeOfSymbol(symbols: readonly Symbol[]): Promise<(Type | undefined)[]>;
|
|
136
|
+
getDeclaredTypeOfSymbol(symbol: Symbol): Promise<Type | undefined>;
|
|
137
|
+
getReferencesToSymbolInFile(file: DocumentIdentifier, symbol: Symbol): Promise<NodeHandle[]>;
|
|
138
|
+
getReferencedSymbolsForNode(node: Node, position: number): Promise<ReferencedSymbolEntry[]>;
|
|
139
|
+
getSignatureUsage(signatureDecl: Node): Promise<SignatureUsage[]>;
|
|
140
|
+
getCompletionsAtPosition(document: string, position: number, options?: CompletionOptions): Promise<CompletionInfo | undefined>;
|
|
141
|
+
getTypeAtLocation(node: Node): Promise<Type | undefined>;
|
|
142
|
+
getTypeAtLocation(nodes: readonly Node[]): Promise<(Type | undefined)[]>;
|
|
143
|
+
getSignaturesOfType(type: Type, kind: SignatureKind): Promise<readonly Signature[]>;
|
|
144
|
+
getResolvedSignature(node: Node): Promise<Signature | undefined>;
|
|
145
|
+
getTypeAtPosition(file: DocumentIdentifier, position: number): Promise<Type | undefined>;
|
|
146
|
+
getTypeAtPosition(file: DocumentIdentifier, positions: readonly number[]): Promise<(Type | undefined)[]>;
|
|
147
|
+
resolveName(name: string, meaning: SymbolFlags, location?: Node | DocumentPosition, excludeGlobals?: boolean): Promise<Symbol | undefined>;
|
|
148
|
+
getResolvedSymbol(node: Identifier): Promise<Symbol | undefined>;
|
|
149
|
+
getContextualType(node: Expression): Promise<Type | undefined>;
|
|
150
|
+
getBaseTypeOfLiteralType(type: Type): Promise<Type | undefined>;
|
|
151
|
+
getNonNullableType(type: Type): Promise<Type | undefined>;
|
|
152
|
+
getTypeFromTypeNode(node: TypeNode): Promise<Type | undefined>;
|
|
153
|
+
getWidenedType(type: Type): Promise<Type | undefined>;
|
|
154
|
+
getParameterType(signature: Signature, index: number): Promise<Type | undefined>;
|
|
155
|
+
isArrayLikeType(type: Type): Promise<boolean>;
|
|
156
|
+
isTypeAssignableTo(source: Type, target: Type): Promise<boolean>;
|
|
157
|
+
getShorthandAssignmentValueSymbol(node: Node): Promise<Symbol | undefined>;
|
|
158
|
+
getTypeOfSymbolAtLocation(symbol: Symbol, location: Node): Promise<Type | undefined>;
|
|
159
|
+
private getIntrinsicType;
|
|
160
|
+
getAnyType(): Promise<Type>;
|
|
161
|
+
getStringType(): Promise<Type>;
|
|
162
|
+
getNumberType(): Promise<Type>;
|
|
163
|
+
getBooleanType(): Promise<Type>;
|
|
164
|
+
getVoidType(): Promise<Type>;
|
|
165
|
+
getUndefinedType(): Promise<Type>;
|
|
166
|
+
getNullType(): Promise<Type>;
|
|
167
|
+
getNeverType(): Promise<Type>;
|
|
168
|
+
getUnknownType(): Promise<Type>;
|
|
169
|
+
getBigIntType(): Promise<Type>;
|
|
170
|
+
getESSymbolType(): Promise<Type>;
|
|
171
|
+
typeToTypeNode(type: Type, enclosingDeclaration?: Node, flags?: number): Promise<TypeNode | undefined>;
|
|
172
|
+
signatureToSignatureDeclaration(signature: Signature, kind: SyntaxKind, enclosingDeclaration?: Node, flags?: NodeBuilderFlags): Promise<Node | undefined>;
|
|
173
|
+
typeToString(type: Type, enclosingDeclaration?: Node, flags?: number): Promise<string>;
|
|
174
|
+
isContextSensitive(node: Node): Promise<boolean>;
|
|
175
|
+
getReturnTypeOfSignature(signature: Signature): Promise<Type | undefined>;
|
|
176
|
+
getRestTypeOfSignature(signature: Signature): Promise<Type | undefined>;
|
|
177
|
+
getTypePredicateOfSignature(signature: Signature): Promise<TypePredicate | undefined>;
|
|
178
|
+
getBaseTypes(type: Type): Promise<readonly Type[]>;
|
|
179
|
+
getPropertiesOfType(type: Type): Promise<readonly Symbol[]>;
|
|
180
|
+
getIndexInfosOfType(type: Type): Promise<readonly IndexInfo[]>;
|
|
181
|
+
getConstraintOfTypeParameter(type: Type): Promise<Type | undefined>;
|
|
182
|
+
getTypeArguments(type: Type): Promise<readonly Type[]>;
|
|
183
|
+
}
|
|
184
|
+
export interface PrintNodeOptions {
|
|
185
|
+
preserveSourceNewlines?: boolean;
|
|
186
|
+
neverAsciiEscape?: boolean;
|
|
187
|
+
terminateUnterminatedLiterals?: boolean;
|
|
188
|
+
}
|
|
189
|
+
export declare class Emitter {
|
|
190
|
+
private client;
|
|
191
|
+
constructor(client: Client);
|
|
192
|
+
printNode(node: Node, options?: PrintNodeOptions): Promise<string>;
|
|
193
|
+
}
|
|
194
|
+
export declare class NodeHandle {
|
|
195
|
+
readonly index: number;
|
|
196
|
+
readonly kind: SyntaxKind;
|
|
197
|
+
readonly path: Path;
|
|
198
|
+
constructor(handle: string);
|
|
199
|
+
/**
|
|
200
|
+
* Resolve this handle to the actual AST node by fetching the source file
|
|
201
|
+
* from the given project and looking up the node by index.
|
|
202
|
+
*/
|
|
203
|
+
resolve(project: Project): Promise<Node | undefined>;
|
|
204
|
+
}
|
|
205
|
+
/** A symbol definition paired with all of its reference nodes. */
|
|
206
|
+
export interface ReferencedSymbolEntry {
|
|
207
|
+
/** The node handle for the symbol's definition. */
|
|
208
|
+
definition: NodeHandle;
|
|
209
|
+
/** The resolved symbol for the definition, if available. */
|
|
210
|
+
symbol?: Symbol;
|
|
211
|
+
/** The node handles for each reference to the symbol. */
|
|
212
|
+
references: NodeHandle[];
|
|
213
|
+
}
|
|
214
|
+
/** A single usage of a signature, pairing the reference name with its call expression (if any). */
|
|
215
|
+
export interface SignatureUsage {
|
|
216
|
+
/** The node handle for the name reference. */
|
|
217
|
+
name: NodeHandle;
|
|
218
|
+
/** The node handle for the call expression, if the reference is invoked. */
|
|
219
|
+
call?: NodeHandle;
|
|
220
|
+
}
|
|
221
|
+
export declare class Symbol {
|
|
222
|
+
private objectRegistry;
|
|
223
|
+
readonly id: number;
|
|
224
|
+
readonly name: string;
|
|
225
|
+
readonly flags: SymbolFlags;
|
|
226
|
+
readonly checkFlags: number;
|
|
227
|
+
readonly declarations: readonly NodeHandle[];
|
|
228
|
+
readonly valueDeclaration: NodeHandle | undefined;
|
|
229
|
+
readonly parent: number;
|
|
230
|
+
readonly exportSymbol: number;
|
|
231
|
+
constructor(data: SymbolResponse, objectRegistry: SnapshotObjectRegistry);
|
|
232
|
+
getParent(): Promise<Symbol | undefined>;
|
|
233
|
+
getMembers(): Promise<readonly Symbol[]>;
|
|
234
|
+
getExports(): Promise<readonly Symbol[]>;
|
|
235
|
+
getExportSymbol(): Promise<Symbol>;
|
|
236
|
+
}
|
|
237
|
+
declare class TypeObject implements Type {
|
|
238
|
+
private objectRegistry;
|
|
239
|
+
readonly id: number;
|
|
240
|
+
readonly flags: TypeFlags;
|
|
241
|
+
readonly objectFlags: ObjectFlags;
|
|
242
|
+
readonly symbol: number;
|
|
243
|
+
readonly value: string | number | boolean;
|
|
244
|
+
readonly intrinsicName: string;
|
|
245
|
+
readonly isThisType: boolean;
|
|
246
|
+
readonly freshType: number;
|
|
247
|
+
readonly regularType: number;
|
|
248
|
+
readonly target: number;
|
|
249
|
+
readonly typeParameters: readonly number[];
|
|
250
|
+
readonly outerTypeParameters: readonly number[];
|
|
251
|
+
readonly localTypeParameters: readonly number[];
|
|
252
|
+
readonly aliasTypeArguments: readonly number[];
|
|
253
|
+
readonly aliasSymbol: number;
|
|
254
|
+
readonly elementFlags: readonly ElementFlags[];
|
|
255
|
+
readonly fixedLength: number;
|
|
256
|
+
readonly readonly: boolean;
|
|
257
|
+
readonly texts: readonly string[];
|
|
258
|
+
readonly objectType: number;
|
|
259
|
+
readonly indexType: number;
|
|
260
|
+
readonly checkType: number;
|
|
261
|
+
readonly extendsType: number;
|
|
262
|
+
readonly baseType: number;
|
|
263
|
+
readonly substConstraint: number;
|
|
264
|
+
constructor(data: TypeResponse, objectRegistry: SnapshotObjectRegistry);
|
|
265
|
+
getSymbol(): Promise<Symbol | undefined>;
|
|
266
|
+
getAliasSymbol(): Promise<Symbol | undefined>;
|
|
267
|
+
getTarget(): Promise<Type>;
|
|
268
|
+
getFreshType(): Promise<FreshableType | undefined>;
|
|
269
|
+
getRegularType(): Promise<FreshableType | undefined>;
|
|
270
|
+
getTypes(): Promise<readonly Type[]>;
|
|
271
|
+
getTypeParameters(): Promise<readonly Type[]>;
|
|
272
|
+
getOuterTypeParameters(): Promise<readonly Type[]>;
|
|
273
|
+
getLocalTypeParameters(): Promise<readonly Type[]>;
|
|
274
|
+
getAliasTypeArguments(): Promise<readonly Type[]>;
|
|
275
|
+
getObjectType(): Promise<Type>;
|
|
276
|
+
getIndexType(): Promise<Type>;
|
|
277
|
+
getCheckType(): Promise<Type>;
|
|
278
|
+
getExtendsType(): Promise<Type>;
|
|
279
|
+
getBaseType(): Promise<Type>;
|
|
280
|
+
getConstraint(): Promise<Type>;
|
|
281
|
+
}
|
|
282
|
+
export declare class Signature {
|
|
283
|
+
private flags;
|
|
284
|
+
private objectRegistry;
|
|
285
|
+
readonly id: number;
|
|
286
|
+
readonly declaration?: NodeHandle | undefined;
|
|
287
|
+
readonly typeParameters?: readonly number[] | undefined;
|
|
288
|
+
readonly parameters: readonly number[];
|
|
289
|
+
readonly thisParameter?: number | undefined;
|
|
290
|
+
readonly target?: number | undefined;
|
|
291
|
+
constructor(data: SignatureResponse, objectRegistry: SnapshotObjectRegistry);
|
|
292
|
+
getTypeParameters(): Promise<readonly Type[]>;
|
|
293
|
+
getParameters(): Promise<readonly Symbol[]>;
|
|
294
|
+
getThisParameter(): Promise<Symbol | undefined>;
|
|
295
|
+
getTarget(): Promise<Signature | undefined>;
|
|
296
|
+
get hasRestParameter(): boolean;
|
|
297
|
+
get isConstruct(): boolean;
|
|
298
|
+
get isAbstract(): boolean;
|
|
299
|
+
}
|
|
300
|
+
//# sourceMappingURL=api.d.ts.map
|