chore: split function call (#8424)
This commit is contained in:
@@ -103,5 +103,4 @@ Notify.install = (app: App) => {
|
||||
|
||||
Notify.Component = withInstall<typeof VanNotify>(VanNotify);
|
||||
|
||||
export default Notify;
|
||||
export { Notify };
|
||||
@@ -0,0 +1,6 @@
|
||||
import { Notify, NotifyOptions } from './function-call';
|
||||
import type { NotifyType } from './Notify';
|
||||
|
||||
export default Notify;
|
||||
export { Notify };
|
||||
export type { NotifyType, NotifyOptions };
|
||||
@@ -1,7 +1,7 @@
|
||||
import { createApp } from 'vue';
|
||||
import { later } from '../../../test';
|
||||
import { trigger } from '../../utils';
|
||||
import { Notify } from '..';
|
||||
import { Notify } from '../function-call';
|
||||
import NotifyComponent from '../Notify';
|
||||
|
||||
test('should not throw error if calling clear method before render notify', () => {
|
||||
|
||||
Reference in New Issue
Block a user