store.d.ts 537 B

123456789101112131415161718192021
  1. export declare type OutputState = {
  2. bootstrap: true;
  3. appUrl: string | null;
  4. bindAddr: string | null;
  5. } | ({
  6. bootstrap: false;
  7. appUrl: string | null;
  8. bindAddr: string | null;
  9. } & ({
  10. loading: true;
  11. trigger: string | undefined;
  12. } | {
  13. loading: false;
  14. typeChecking: boolean;
  15. partial: 'client and server' | undefined;
  16. modules: number;
  17. errors: string[] | null;
  18. warnings: string[] | null;
  19. hasEdgeServer: boolean;
  20. }));
  21. export declare const store: import("unistore").Store<OutputState>;