Skip to content

Commit 3192dd3

Browse files
committed
chore: declare getNowInPlayout returns a Time type
1 parent 26dc3ab commit 3192dd3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/job-worker/src/playout/model/PlayoutModel.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import { PlayoutPieceInstanceModel } from './PlayoutPieceInstanceModel.js'
3232
import { PieceInstanceWithTimings } from '@sofie-automation/corelib/dist/playout/processAndPrune'
3333
import { PartCalculatedTimings } from '@sofie-automation/corelib/dist/playout/timings'
3434
import type { INotificationsModel } from '../../notifications/NotificationsModel.js'
35+
import { Time } from '@sofie-automation/blueprints-integration'
3536

3637
export type DeferredFunction = (playoutModel: PlayoutModel) => void | Promise<void>
3738
export type DeferredAfterSaveFunction = (playoutModel: PlayoutModelReadonly) => void | Promise<void>
@@ -391,7 +392,7 @@ export interface PlayoutModel extends PlayoutModelReadonly, StudioPlayoutModelBa
391392
* considering any playout latency. Every call will return a value greater or equal than previous,
392393
* meaning that this function is monotonic.
393394
*/
394-
getNowInPlayout(): number
395+
getNowInPlayout(): Time
395396

396397
/** Lifecycle */
397398

0 commit comments

Comments
 (0)