BREAKING CHANGE(core): switch to esm
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import * as plugins from './smartrule.plugins';
|
||||
import { SmartRule } from './smartrule.classes.smartrule';
|
||||
import * as plugins from './smartrule.plugins.js';
|
||||
import { SmartRule } from './smartrule.classes.smartrule.js';
|
||||
|
||||
export type TTreeActionResult = 'continue' | 'apply-continue' | 'apply-stop' | 'stop';
|
||||
export type TActionFunc = (objectArg) => Promise<any>;
|
||||
export type TActionFunc<T = any> = (objectArg: T) => Promise<any>;
|
||||
|
||||
export type TCheckFunc<T> = (objectArg: T) => Promise<TTreeActionResult>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user