diff --git a/.eslintrc.json b/.eslintrc.json index 0d1f7b9..69f6ee0 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -14,7 +14,7 @@ "sourceType": "module", "project": [ "./packages/*/tsconfig.json", - "./tsconfig.base.json" + "./tsconfig.json" ] }, "plugins": [ diff --git a/packages/mal-auth/src/common/utils.ts b/packages/mal-auth/src/common/utils.ts index d27308c..87c10ca 100644 --- a/packages/mal-auth/src/common/utils.ts +++ b/packages/mal-auth/src/common/utils.ts @@ -1,6 +1,6 @@ import * as jose from 'jose'; import { DEFAULT_SESSION_DURATION_SECONDS } from '../handlers/fetchHandler'; -import { Cookies } from './types'; +import type { Cookies } from './types'; import { error } from './httpError'; const SECRET_KEY = process.env.MAL_SECRET_KEY || getDefaultSecretKey(); diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..3d92376 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "tsconfig.base.json" +} \ No newline at end of file