Isolated modules to true in client
Speeds up compilation
This commit is contained in:
parent
d97484c2f7
commit
9a6e68d505
4 changed files with 7 additions and 10 deletions
|
@ -372,5 +372,5 @@ videojs.registerComponent('StatsCard', StatsCard)
|
||||||
|
|
||||||
export {
|
export {
|
||||||
StatsCard,
|
StatsCard,
|
||||||
StatsCardOptions
|
type StatsCardOptions
|
||||||
}
|
}
|
||||||
|
|
|
@ -299,10 +299,10 @@ class PluginsManager {
|
||||||
export {
|
export {
|
||||||
PluginsManager,
|
PluginsManager,
|
||||||
|
|
||||||
PluginInfo,
|
type PluginInfo,
|
||||||
PeertubeHelpersFactory,
|
type PeertubeHelpersFactory,
|
||||||
OnFormFields,
|
type OnFormFields,
|
||||||
OnSettingsScripts
|
type OnSettingsScripts
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
|
@ -1,5 +1 @@
|
||||||
type Translations = { [ id: string ]: string }
|
export type Translations = { [ id: string ]: string }
|
||||||
|
|
||||||
export {
|
|
||||||
Translations
|
|
||||||
}
|
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
"importHelpers": true,
|
"importHelpers": true,
|
||||||
"strictBindCallApply": true,
|
"strictBindCallApply": true,
|
||||||
"target": "ES2022",
|
"target": "ES2022",
|
||||||
|
"isolatedModules": true,
|
||||||
"typeRoots": [
|
"typeRoots": [
|
||||||
"node_modules/@types"
|
"node_modules/@types"
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue