@coko/server
Version:
Reusable server for use by Coko's projects
12 lines • 371 B
TypeScript
type EnvOptions = {
type?: 'number' | 'boolean';
};
export declare function env(name: string, options: {
type: 'number';
}): number;
export declare function env(name: string, options: {
type: 'boolean';
}): boolean;
export declare function env(name: string, options?: Omit<EnvOptions, 'type'>): string | undefined;
export {};
//# sourceMappingURL=env.d.ts.map