Utility class for building TypeScript declarations (Interfaces, Type Aliases, Variables). Designed to be injected via DI.
Creates an exported constant variable statement.
export const API_CONFIG = Symbol("API_CONFIG"); Copy
export const API_CONFIG = Symbol("API_CONFIG");
Helper to create an ExpressionWithTypeArguments, used in inheritance (extends).
Optional
Pick<ModuleMetadata, "imports"> Copy
Pick<ModuleMetadata, "imports">
Creates a Function Type Node.
(...args: unknown[]) => Promise<ApiModuleConfig> Copy
(...args: unknown[]) => Promise<ApiModuleConfig>
Creates an exported Interface.
The name of the interface.
The properties and methods of the interface.
Optional array of expressions for the 'extends' clause.
Creates a Method Signature for an interface.
createApiModuleConfig(): Promise<ApiModuleConfig>; Copy
createApiModuleConfig(): Promise<ApiModuleConfig>;
Creates an optional Property Signature for an interface.
baseUrl?: string; Copy
baseUrl?: string;
Creates an exported Type Alias.
export type ApiHeaders = Record<string, string>; Copy
export type ApiHeaders = Record<string, string>;
Utility class for building TypeScript declarations (Interfaces, Type Aliases, Variables). Designed to be injected via DI.