jsii-reflect
Version:
strongly-typed reflection library and tools for jsii
18 lines • 685 B
TypeScript
import * as jsii from '@jsii/spec';
import { Type } from './type';
import { TypeSystem } from './type-system';
export declare class TypeReference {
readonly system: TypeSystem;
readonly spec?: jsii.TypeReference | undefined;
constructor(system: TypeSystem, spec?: jsii.TypeReference | undefined);
toString(): string;
get void(): boolean;
get isAny(): boolean;
get primitive(): string | undefined;
get fqn(): string | undefined;
get type(): Type | undefined;
get arrayOfType(): TypeReference | undefined;
get mapOfType(): TypeReference | undefined;
get unionOfTypes(): TypeReference[] | undefined;
}
//# sourceMappingURL=type-ref.d.ts.map