This commit is contained in:
azykov@mail.ru
2026-09-09 11:49:24 +03:00
parent bd9b5d9aec
commit a3f2f4eeef
20 changed files with 490 additions and 70 deletions
+9
View File
@@ -7,6 +7,15 @@
"types": ["vite/client"],
"allowArbitraryExtensions": true,
"skipLibCheck": true,
"typeRoots": ["./typings"],
// The "gameanalytics" package's own shipped .d.ts doesn't compile under strict mode (invalid
// `module` keyword usage, inconsistent export modifiers — see typings/gameanalytics.d.ts's
// header for the full story) and typeRoots alone doesn't override a package's own real types,
// only add extra global ones — this path mapping is what actually redirects every import of
// "gameanalytics" to our corrected local file instead.
"paths": {
"gameanalytics": ["./typings/gameanalytics.d.ts"]
},
/* Bundler mode */
"moduleResolution": "bundler",