From eedd29c9f36a71c87ba20eecebe4dcd34a6c8495 Mon Sep 17 00:00:00 2001 From: Diego Date: Fri, 16 Sep 2022 23:30:01 -0300 Subject: [PATCH] fix: tsconfig.json --- package.json | 2 +- tsconfig.json | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index fb68573..e5c98e4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vercel-cors", - "version": "1.0.0-rc1", + "version": "1.0.0-rc2", "description": "Simple CORS module for vercel serverless functions", "main": "src/main.js", "scripts": { diff --git a/tsconfig.json b/tsconfig.json index 2895880..77e8797 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,11 +9,12 @@ "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "noImplicitThis": false, - "strict": true, + "resolveJsonModule": true, + "strict": true, "skipLibCheck": true, "declaration": true, "declarationMap": true }, - "include": ["**/*.ts", "**/*.js"], + "include": ["**/*.ts", "**/*.js", "package.json"], "exclude": ["node_modules", "prettier.config.js", "commitlint.config.js"] }