breaking change(Stepper): rename async-change to before-change
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import { isPromise, noop } from '.';
|
||||
|
||||
export type Interceptor = (...args: any[]) => Promise<boolean> | boolean;
|
||||
|
||||
export function callInterceptor(options: {
|
||||
interceptor?: (...args: any[]) => Promise<boolean> | boolean;
|
||||
interceptor?: Interceptor;
|
||||
args?: any[];
|
||||
done: () => void;
|
||||
canceled?: () => void;
|
||||
|
||||
Reference in New Issue
Block a user