不要怂,就是干,撸起袖子干!

You need to sign in or sign up before continuing.
Commit 793ae539 by thesame Committed by Sushant

fix(typings): beforeDestroy (#11618)

1 parent c77c553c
Showing with 1 additions and 1 deletions
...@@ -2163,7 +2163,7 @@ export abstract class Model<T = any, T2 = any> extends Hooks { ...@@ -2163,7 +2163,7 @@ export abstract class Model<T = any, T2 = any> extends Hooks {
): void; ): void;
public static beforeDestroy<M extends Model>( public static beforeDestroy<M extends Model>(
this: { new (): M } & typeof Model, this: { new (): M } & typeof Model,
fn: (instance: Model, options: InstanceDestroyOptions) => HookReturn fn: (instance: M, options: InstanceDestroyOptions) => HookReturn
): void; ): void;
/** /**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!