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 {
|
||||
StatsCard,
|
||||
StatsCardOptions
|
||||
type StatsCardOptions
|
||||
}
|
||||
|
|
|
@ -299,10 +299,10 @@ class PluginsManager {
|
|||
export {
|
||||
PluginsManager,
|
||||
|
||||
PluginInfo,
|
||||
PeertubeHelpersFactory,
|
||||
OnFormFields,
|
||||
OnSettingsScripts
|
||||
type PluginInfo,
|
||||
type PeertubeHelpersFactory,
|
||||
type OnFormFields,
|
||||
type OnSettingsScripts
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
|
|
@ -1,5 +1 @@
|
|||
type Translations = { [ id: string ]: string }
|
||||
|
||||
export {
|
||||
Translations
|
||||
}
|
||||
export type Translations = { [ id: string ]: string }
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
"importHelpers": true,
|
||||
"strictBindCallApply": true,
|
||||
"target": "ES2022",
|
||||
"isolatedModules": true,
|
||||
"typeRoots": [
|
||||
"node_modules/@types"
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue