interface Storage { readonly length: number; clear(): void; getItem(key: string): string | null; key(index: number): string | null; removeItem(key: string): void; setItem(key: string, value: string): void; [name: string]: any; /** * 用户 token */ token: string | null emrCache: string | null } declare var localStorage: Storage;