UNPKG

@proofgeist/fmdapi

Version:
8 lines (7 loc) 250 B
type MaybePromise<T> = Promise<T> | T; export type TokenStoreDefinitions = { getKey?: () => string; getToken: (key: string) => MaybePromise<string | null>; setToken: (key: string, value: string) => void; clearToken: (key: string) => void; };