Kira 4 years ago
parent
commit
69fe01adb7
  1. 7
      typescript/core/func/function.ts

7
typescript/core/func/function.ts

@ -16,6 +16,13 @@ export type _function = {
*/
getSearchResult: (items: any, keyword: any, param?: string) => { find: any[], match: any[] };
/**
* GB2312排序的结果
* @param items
* @param key
*/
getSortedResult: <T>(items: T[], key: string) => T[];
/**
* A执行之前执行方法B
* @param sFunc A

Loading…
Cancel
Save