1
0
Fork 0
skiff-apps-main/calendar-web/custom.d.ts
2024-02-10 14:41:59 -06:00

20 lines
474 B
TypeScript

declare module '*.svg' {
const content: any;
export default content;
}
interface TokenClientConfig {
client_id: string;
scope: string;
callback?: () => void;
}
interface TokenClient {
requestAccessToken: () => void;
}
declare namespace google.accounts.oauth2 {
export function revoke(token: string): void;
export function initTokenClient(tokenClientConfig: TokenClientConfig): TokenClient;
export function hasGrantedAllScopes(scope: string): boolean;
}