first.d.ts 336 B

12345678910111213141516171819
  1. import { XEUtilsMethods } from '../xe-utils'
  2. /**
  3. * 获取对象第一个值
  4. * @param obj 对象
  5. */
  6. export declare function first(obj: any): any;
  7. declare module '../xe-utils' {
  8. interface XEUtilsMethods {
  9. /**
  10. * 获取对象第一个值
  11. * @param obj 对象
  12. */
  13. first: typeof first;
  14. }
  15. }
  16. export default first