anaytics
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user