next
Version:
The React Framework
25 lines (24 loc) • 630 B
TypeScript
export type OutputState = {
bootstrap: true;
appUrl: string | null;
bindAddr: string | null;
logging: boolean;
} | ({
bootstrap: false;
appUrl: string | null;
bindAddr: string | null;
logging: boolean;
} & ({
loading: true;
trigger: string | undefined;
url: string | undefined;
} | {
loading: false;
typeChecking: boolean;
totalModulesCount: number;
errors: string[] | null;
warnings: string[] | null;
hasEdgeServer: boolean;
}));
export declare function formatTrigger(trigger: string): string;
export declare const store: import("unistore").Store<OutputState>;