Skip to content

Commit c618fa0

Browse files
authored
refactor: generic the type of timeline committer source (#111)
1 parent d8590f9 commit c618fa0

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

src/Map/useTimelineManager.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,7 @@ export type TimelineCommit = (PlayCommand | PauseCommand | SetTimeCommand | SetO
6161
};
6262

6363
export type TimelineCommitter = {
64-
source:
65-
| "widgetContext"
66-
| "pluginAPI"
67-
| "featureResource"
68-
| "storyTimelineBlock"
69-
| "storyPage"
70-
| "initialize";
64+
source: string;
7165
id?: string;
7266
};
7367

0 commit comments

Comments
 (0)