From b8187787441e1e75aad2b7a61c03c91c1a0e9d7e Mon Sep 17 00:00:00 2001 From: hasan-zaag Date: Sun, 10 Sep 2023 15:38:04 +0600 Subject: [PATCH] resolves #9 --- tsconfig.json | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 4ca36e4..e21fc66 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,18 +1,16 @@ { "compilerOptions": { - "target": "ES2021", // Target ES version supported by Node.js 18 - "module": "ESNext", // ES modules - "outDir": "./dist", // Specify the output directory for compiled JavaScript files - "rootDir": "./src", // Specify the root directory of your TypeScript source files - "strict": true, // Enable strict type checking - "esModuleInterop": true, // Allow default imports from modules with no default export - "skipLibCheck": true, // Skip type checking of declaration files - "forceConsistentCasingInFileNames": true, // Ensure consistent file name casing - "declaration": true, // Generate TypeScript declaration files (.d.ts) - "declarationDir": "./dist", // Specify the output directory for declaration files - "sourceMap": true // Generate source maps for easier debugging + "target": "ES2021", // Target ES version supported by Node.js 18 + "module": "ESNext", // ES modules + "outDir": "./dist", // Specify the output directory for compiled JavaScript files + "rootDir": "./src", // Specify the root directory of your TypeScript source files + "strict": true, // Enable strict type checking + "esModuleInterop": true, // Allow default imports from modules with no default export + "skipLibCheck": true, // Skip type checking of declaration files + "forceConsistentCasingInFileNames": true, // Ensure consistent file name casing + "declaration": true, // Generate TypeScript declaration files (.d.ts) + "declarationDir": "./dist" // Specify the output directory for declaration files }, - "include": ["src/**/*.ts"], // Specify the files to include in compilation - "exclude": ["node_modules"] // Specify the files and directories to exclude from compilation - } - \ No newline at end of file + "include": ["src/**/*.ts"], // Specify the files to include in compilation + "exclude": ["node_modules"] // Specify the files and directories to exclude from compilation +}