diff --git a/package.json b/package.json index ded73b3..64f02b8 100644 --- a/package.json +++ b/package.json @@ -97,5 +97,8 @@ "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } + }, + "dependencies": { + "typescript": "5.0.2" } } diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..f87c6e1 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "target": "esnext", + "module": "esnext", + "lib": ["dom", "dom.iterable", "esnext"], + "allowJs": true, + "jsx": "preserve", + "outDir": "./dist", + "strict": true, + "moduleResolution": "node", + + /* Experimental Options */ + "experimentalDecorators": true /* Enables experimental support for ES7 decorators. */, + "emitDecoratorMetadata": true /* Enables experimental support for emitting type metadata for decorators. */ + }, + + "exclude": [ + "node_modules" + ], + "vueCompilerOptions": { + "jsxSlots": true + } +} diff --git a/yarn.lock b/yarn.lock index 9e55900..b27a5dd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19152,6 +19152,11 @@ typedarray@^0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" +typescript@5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.0.2.tgz#891e1a90c5189d8506af64b9ef929fca99ba1ee5" + integrity sha512-wVORMBGO/FAs/++blGNeAVdbNKtIh1rbBL2EyQ1+J9lClJ93KiiKe8PmFIVdXhHcyv44SL9oglmfeSsndo0jRw== + uc.micro@^1.0.1, uc.micro@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.5.tgz#0c65f15f815aa08b560a61ce8b4db7ffc3f45376"