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) [![Build Status](https://github.com/aws/jsii-compiler/workflows/build/badge.svg)](https://github.com/aws/jsii

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