UNPKG

jsii

Version:

[![Join the chat at https://cdk.Dev](https://img.shields.io/static/v1?label=Slack&message=cdk.dev&color=brightgreen&logo=slack)](https://cdk.dev) [![All Contributors](https://img.shields.io/github/all-contributors/aws/jsii/main?label=%E2%9C%A8%20All%20Con

13 lines 493 B
import * as ts from 'typescript'; /** * A class that tracks the TypeScript source AST nodes for certain jsii types * * This is useful if we need to get additional information that is not currently tracked. */ export declare class TypeTracker { private readonly enums; registerEnum(fqn: string, decl: ts.EnumDeclaration): void; getEnum(fqn: string): ts.EnumDeclaration; getEnumMembers(fqn: string): Record<string, ts.EnumMember>; } //# sourceMappingURL=type-tracker.d.ts.map