chore: fix unnecessary 'undefined' types (#2589)
This commit is contained in:
@@ -48,7 +48,7 @@ const render = (eventData?: LibraryChangesMessageData) => {
|
||||
};
|
||||
|
||||
let axiosMock: MockAdapter;
|
||||
let mockShowToast: (message: string, action?: ToastActionData | undefined) => void;
|
||||
let mockShowToast: (message: string, action?: ToastActionData) => void;
|
||||
|
||||
describe('<IframePreviewLibraryXBlockChanges />', () => {
|
||||
beforeEach(() => {
|
||||
|
||||
Reference in New Issue
Block a user