Isolated modules to true in client

Speeds up compilation
This commit is contained in:
Chocobozzz 2024-08-16 10:45:30 +02:00
parent d97484c2f7
commit 9a6e68d505
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
4 changed files with 7 additions and 10 deletions

View File

@ -372,5 +372,5 @@ videojs.registerComponent('StatsCard', StatsCard)
export {
StatsCard,
StatsCardOptions
type StatsCardOptions
}

View File

@ -299,10 +299,10 @@ class PluginsManager {
export {
PluginsManager,
PluginInfo,
PeertubeHelpersFactory,
OnFormFields,
OnSettingsScripts
type PluginInfo,
type PeertubeHelpersFactory,
type OnFormFields,
type OnSettingsScripts
}
// ---------------------------------------------------------------------------

View File

@ -1,5 +1 @@
type Translations = { [ id: string ]: string }
export {
Translations
}
export type Translations = { [ id: string ]: string }

View File

@ -15,6 +15,7 @@
"importHelpers": true,
"strictBindCallApply": true,
"target": "ES2022",
"isolatedModules": true,
"typeRoots": [
"node_modules/@types"
],