the end of sern init??

This commit is contained in:
Jacob Nguyen
2024-04-28 22:16:54 -05:00
parent 68c5f09b46
commit 071d5eac49
8 changed files with 22 additions and 47 deletions

View File

@@ -7,10 +7,7 @@ export function makePlugin<V extends unknown[]>(
type: PluginType,
execute: (...args: any[]) => any,
): Plugin<V> {
return {
type,
execute,
} as Plugin<V>;
return { type, execute, } as Plugin<V>;
}
/**
* @since 2.5.0