From bfe708d48f603998a1f2c4cad4a6f9f8683dc18f Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Fri, 12 May 2023 16:54:06 +0100 Subject: Migrate to Typescript --- tsconfig.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tsconfig.json (limited to 'tsconfig.json') diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..9d7b7ab --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "target": "ES2020", + "module": "ES2020", + "allowJs": true, + "checkJs": true, + "removeComments": true, + "resolveJsonModule": true, + "typeRoots": ["./node_modules/@types"], + "sourceMap": true, + "outDir": "dist", + "strict": true, + "baseUrl": ".", + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, + "experimentalDecorators": true, + "emitDecoratorMetadata": true, + "moduleResolution": "nodenext", + "skipLibCheck": true, + }, + "include": ["src/**/*"], +} \ No newline at end of file -- cgit v1.2.3 From 116acdbd18fe26ddf4748e49f5fbdceaee720eaa Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Fri, 12 May 2023 16:54:06 +0100 Subject: More linting --- tsconfig.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tsconfig.json') diff --git a/tsconfig.json b/tsconfig.json index 9d7b7ab..04519ef 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,7 +16,7 @@ "experimentalDecorators": true, "emitDecoratorMetadata": true, "moduleResolution": "nodenext", - "skipLibCheck": true, + "skipLibCheck": true }, - "include": ["src/**/*"], -} \ No newline at end of file + "include": ["src/**/*"] +} -- cgit v1.2.3