allow async token type

This commit is contained in:
Fernando Rojo 2020-10-05 17:58:42 +00:00 committed by GitHub
parent 84099eeb52
commit cfe242c985

View File

@ -4,7 +4,7 @@ interface Config {
BASE: string;
VERSION: string;
WITH_CREDENTIALS: boolean;
TOKEN: string;
TOKEN: string | () => Promise<string>;
}
export const OpenAPI: Config = {