chore: migrated to typescript

This commit is contained in:
2025-10-08 11:09:16 +03:00
parent b5386c706f
commit 1ec17cd83e
12 changed files with 205 additions and 26 deletions

30
tsconfig.json Normal file
View File

@@ -0,0 +1,30 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "CommonJS",
"lib": ["ES2022", "DOM"],
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"noEmitOnError": false,
"noImplicitAny": true,
"noImplicitReturns": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"exactOptionalPropertyTypes": false,
"types": ["chrome"]
},
"include": [
"src/**/*"
],
"exclude": [
"node_modules",
"dist"
]
}