Skip to content

Commit 722a75c

Browse files
committed
chore: manual fixes
1 parent 0ba78c5 commit 722a75c

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

packages/job-worker/src/playout/model/services/QuickLoopService.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class QuickLoopService {
8080

8181
getUpdatedProps(hasJustSetMarker?: 'start' | 'end'): QuickLoopProps | undefined {
8282
if (this.playoutModel.playlist.quickLoop == null) return undefined
83-
const quickLoopProps = clone(this.playoutModel.playlist.quickLoop)
83+
const quickLoopProps = clone<QuickLoopProps>(this.playoutModel.playlist.quickLoop)
8484
const wasLoopRunning = quickLoopProps.running
8585

8686
this.resetDynamicallyInsertedPartOverrideIfNoLongerNeeded(quickLoopProps)
@@ -145,12 +145,12 @@ export class QuickLoopService {
145145
if (!this.playoutModel.playlist.quickLoop) return undefined
146146

147147
if (this.playoutModel.playlist.quickLoop.locked) {
148-
const quickLoopProps = clone(this.playoutModel.playlist.quickLoop)
148+
const quickLoopProps = clone<QuickLoopProps>(this.playoutModel.playlist.quickLoop)
149149
quickLoopProps.running = false
150150
return quickLoopProps
151151
}
152152

153-
const quickLoopProps = clone(this.playoutModel.playlist.quickLoop)
153+
const quickLoopProps = clone<QuickLoopProps>(this.playoutModel.playlist.quickLoop)
154154
delete quickLoopProps.start
155155
delete quickLoopProps.end
156156
quickLoopProps.running = false

packages/shared-lib/src/expectedPlayoutItem.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ export interface ExpectedPlayoutItemPeripheralDevice extends ExpectedPlayoutItem
2020
baseline?: 'rundown' | 'studio'
2121
}
2222

23-
type ExpectedPlayoutItemContent = TSR.ExpectedPlayoutItemContent
24-
export { ExpectedPlayoutItemContent }
23+
export type ExpectedPlayoutItemContent = TSR.ExpectedPlayoutItemContent

packages/shared-lib/src/lib/translations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export { TranslationsBundle, TranslationsBundleType, I18NextData, ITranslatableMessage }
1+
export { type TranslationsBundle, TranslationsBundleType, type I18NextData, type ITranslatableMessage }
22

33
enum TranslationsBundleType {
44
/** i18next JSON data */

packages/shared-lib/src/tsr.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as TSR from 'timeline-state-resolver-types'
22
export { TSR }
33

4-
import * as tsrPkgInfo from 'timeline-state-resolver-types/package.json'
4+
import tsrPkgInfo from 'timeline-state-resolver-types/package.json' with { type: 'json' }
55
export const TSR_VERSION: string = tsrPkgInfo.version

packages/shared-lib/tsconfig.build.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"types": ["node"],
1212
"composite": true,
1313
"module": "node20",
14+
"skipLibCheck": true,
1415
"verbatimModuleSyntax": true
1516
}
1617
}

0 commit comments

Comments
 (0)