feat!: migrate to TypeScript and implement emulate using Miniflare

Signed-off-by: Pascal Vorwerk <info@fossores.de>
This commit is contained in:
2024-01-28 22:16:18 +01:00
commit d4d1742487
10 changed files with 2254 additions and 0 deletions

15
tsconfig.json Normal file
View File

@@ -0,0 +1,15 @@
{
"compilerOptions": {
"strict": true,
"allowJs": true,
"checkJs": true,
"noEmit": true,
"noImplicitAny": true,
"target": "es2022",
"module": "node16",
"moduleResolution": "node16",
"baseUrl": ".",
"forceConsistentCasingInFileNames": true
},
"include": ["index.ts", "placeholders.d.ts", "src/worker.ts"]
}