Closed mylesmmurphy closed 2 weeks ago
This pull request introduces support for tuple types in the TypeScript plugin. The changes include modifications to handle tuple types in the type tree and to stringify tuple types.
packages/typescript-plugin/src/type-tree/index.ts
getTypeTree
packages/typescript-plugin/src/type-tree/types.ts
TypeTree
packages/vscode-extension/src/stringify-type-tree.ts
stringifyTypeTree
This pull request introduces support for tuple types in the TypeScript plugin. The changes include modifications to handle tuple types in the type tree and to stringify tuple types.
Support for tuple types:
packages/typescript-plugin/src/type-tree/index.ts
: Added logic to handle tuple types in thegetTypeTree
function.packages/typescript-plugin/src/type-tree/types.ts
: Updated theTypeTree
type definition to include the tuple type structure.Stringification of tuple types:
packages/vscode-extension/src/stringify-type-tree.ts
: Added logic to stringify tuple types in thestringifyTypeTree
function.