jsii
Version:
[](https://cdk.dev) [](https://github.com/aws/jsii
13 lines • 493 B
TypeScript
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