From b0c78499d90e8ebedf390b97c64104d6d4baba8c Mon Sep 17 00:00:00 2001 From: Dnny44 Date: Mon, 6 Apr 2026 13:23:21 -0500 Subject: [PATCH] Fix Type issue --- credentials/JellyfinApi.credentials.ts | 2 +- tsconfig.json | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) 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",