mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-19 01:59:48 -05:00
add i18n to window in typecheck
This commit is contained in:
2 files changed
+20
-5
No files matched your search
Vendored
+1
@@ -3,6 +3,7 @@ import { ObjectPreview } from './preview'
|
||||
declare global {
|
||||
interface Window {
|
||||
tagInputs: Array<JQuery<HTMLElement>>
|
||||
i18n
|
||||
}
|
||||
interface HTMLCanvasElement {
|
||||
renderer: ObjectPreview
|
||||
|
||||
+19
-5
@@ -3,12 +3,18 @@
|
||||
"declaration": false,
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
"lib": ["es6", "dom"],
|
||||
"lib": [
|
||||
"es6",
|
||||
"dom"
|
||||
],
|
||||
"module": "es6",
|
||||
"moduleResolution": "node",
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"*": ["node_modules/*", "app/javascript/*"]
|
||||
"*": [
|
||||
"node_modules/*",
|
||||
"app/javascript/*"
|
||||
]
|
||||
},
|
||||
"sourceMap": true,
|
||||
"strictNullChecks": true,
|
||||
@@ -20,9 +26,17 @@
|
||||
"webpack-env",
|
||||
"three",
|
||||
"jquery",
|
||||
"selectize"
|
||||
]
|
||||
"selectize",
|
||||
"i18n-js"
|
||||
],
|
||||
"resolveJsonModule": true,
|
||||
"allowSyntheticDefaultImports": true
|
||||
},
|
||||
"exclude": ["**/*.spec.ts", "node_modules", "vendor", "public"],
|
||||
"exclude": [
|
||||
"**/*.spec.ts",
|
||||
"node_modules",
|
||||
"vendor",
|
||||
"public"
|
||||
],
|
||||
"compileOnSave": false
|
||||
}
|
||||
Reference in new issue
Block a user