diff --git a/credentials/JellyfinApi.credentials.ts b/credentials/JellyfinApi.credentials.ts index 334c43e..abf8259 100644 --- a/credentials/JellyfinApi.credentials.ts +++ b/credentials/JellyfinApi.credentials.ts @@ -22,7 +22,7 @@ export class JellyfinApi implements ICredentialType { ]; authenticate = { - type: 'generic', + type: 'generic' as const, properties: { headers: { 'Authorization': '={{"MediaBrowser Token=" + $credentials.apiKey}}' diff --git a/tsconfig.json b/tsconfig.json index 1f31194..f09c20d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,13 +1,14 @@ { "compilerOptions": { "module": "commonjs", - "target": "es2019", - "lib": ["es2019"], + "target": "es2022", + "lib": ["es2022"], "outDir": "dist", "rootDir": "./", "strict": true, "esModuleInterop": true, - "resolveJsonModule": true + "resolveJsonModule": true, + "skipLibCheck": true }, "include": [ "nodes/**/*.ts",