UNPKG

255 BTypeScriptView Raw
1export interface GlobalConfig {
2 isSsr?: boolean;
3}
4export type GlobalConfigKeys = 'isSsr';
5export declare const Global: {
6 isSsr: boolean;
7 get: (key: 'isSsr') => boolean;
8 set: (key: GlobalConfigKeys | GlobalConfig, value?: any) => void;
9};