From 20620410b5ee449c89189e762580345005a42639 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Tue, 14 May 2024 21:13:37 -0700 Subject: [PATCH] build: add tsconfig.json --- test/Pincode.test.svelte | 14 +++++++------- tsconfig.json | 21 +++++++++++++++++++++ 2 files changed, 28 insertions(+), 7 deletions(-) create mode 100644 tsconfig.json diff --git a/test/Pincode.test.svelte b/test/Pincode.test.svelte index 81f8066..d409b25 100644 --- a/test/Pincode.test.svelte +++ b/test/Pincode.test.svelte @@ -1,9 +1,9 @@ diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..199631b --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,21 @@ + +{ + "compilerOptions": { + "noEmit": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "ignoreDeprecations": "5.0", + "importsNotUsedAsValues": "error", + "isolatedModules": true, + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "node", + "strict": true, + "types": ["svelte"], + "paths": { + "svelte-pincode": ["./src"], + "svelte-pincode/src/*": ["./src/*"] + } + }, + "include": ["src", "test"] +}