diff --git a/src/auth.ts b/src/auth.ts index b199dc6..383c739 100644 --- a/src/auth.ts +++ b/src/auth.ts @@ -1,6 +1,5 @@ import type { GetSession, RequestHandler } from "@sveltejs/kit"; import type { EndpointOutput } from "@sveltejs/kit/types/endpoint"; -import { ResponseHeaders } from "@sveltejs/kit/types/helper"; import { RequestEvent } from "@sveltejs/kit/types/hooks"; import cookie from "cookie"; import * as jsonwebtoken from "jsonwebtoken"; diff --git a/src/providers/reddit.ts b/src/providers/reddit.ts index 63353a5..1ebf8ff 100644 --- a/src/providers/reddit.ts +++ b/src/providers/reddit.ts @@ -1,5 +1,4 @@ import { OAuth2Provider, OAuth2ProviderConfig } from "./oauth2"; -import type { ProfileCallback } from "./oauth2.base"; export interface RedditProfile { is_employee: boolean; diff --git a/src/providers/twitter.ts b/src/providers/twitter.ts index fb99e45..6efb62e 100644 --- a/src/providers/twitter.ts +++ b/src/providers/twitter.ts @@ -1,6 +1,5 @@ import { RequestEvent } from "@sveltejs/kit/types/hooks"; import type { Auth } from "../auth"; -import type { CallbackResult } from "../types"; import { OAuth2BaseProvider, OAuth2BaseProviderConfig } from "./oauth2.base"; interface TwitterAuthProviderConfig extends OAuth2BaseProviderConfig {