🎨 Format and lint code

This commit is contained in:
RaviAnand Mohabir 2021-05-23 22:30:34 +02:00
parent d980240fd9
commit 35f48c0cb5
2 changed files with 6 additions and 5 deletions

View File

@ -15,10 +15,7 @@ export default [
sourcemap: true, sourcemap: true,
format: "cjs", format: "cjs",
}, },
plugins: [ plugins: [esbuild(), multiInput()],
esbuild(),
multiInput(),
],
external: [ external: [
...Object.keys(globals), ...Object.keys(globals),
"@sveltejs/kit/assets/runtime/app/navigation", "@sveltejs/kit/assets/runtime/app/navigation",

View File

@ -8,7 +8,11 @@ export interface OAuth2BaseProviderConfig extends ProviderConfig {
} }
export abstract class OAuth2BaseProvider<T extends OAuth2BaseProviderConfig> extends Provider<T> { export abstract class OAuth2BaseProvider<T extends OAuth2BaseProviderConfig> extends Provider<T> {
abstract getAuthorizationUrl(request: ServerRequest, auth: Auth, state: string): string | Promise<string>; abstract getAuthorizationUrl(
request: ServerRequest,
auth: Auth,
state: string,
): string | Promise<string>;
abstract getTokens(code: string, redirectUri: string): any | Promise<any>; abstract getTokens(code: string, redirectUri: string): any | Promise<any>;
abstract getUserProfile(tokens: any): any | Promise<any>; abstract getUserProfile(tokens: any): any | Promise<any>;