noop.d.ts 378 B

1234567891011121314151617
  1. import { XEUtilsMethods } from '../xe-utils'
  2. /**
  3. * 一个空的方法,始终返回 undefined,可用于初始化值
  4. */
  5. export declare function noop(...args: any[]): void;
  6. declare module '../xe-utils' {
  7. interface XEUtilsMethods {
  8. /**
  9. * 一个空的方法,始终返回 undefined,可用于初始化值
  10. */
  11. noop: typeof noop;
  12. }
  13. }
  14. export default noop