Skip to content

Commit

Permalink
chore: 🤖 fix TypeScript type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Mar 13, 2020
1 parent eff999c commit 189d0de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ function useDrilldownsStateManager(
notifications: NotificationsStart
) {
const [isLoading, setIsLoading] = useState(false);
const [drilldowns, setDrilldowns] = useState<UiActionsSerializedEvent[]>();
const [drilldowns, setDrilldowns] = useState<readonly UiActionsSerializedEvent[]>();
const isMounted = useMountedState();

async function run(op: () => Promise<void>) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ class MockDynamicActionManager implements PublicMethodsOf<DynamicActionManager>
};
}

async deleteEvent() {
throw new Error('not implemented');
}

async start() {}
async stop() {}
}
Expand Down

0 comments on commit 189d0de

Please sign in to comment.