Skip to content

Commit

Permalink
feat: 增加 AnyObject 类型导出
Browse files Browse the repository at this point in the history
  • Loading branch information
Ares-Chang committed Sep 13, 2024
1 parent 703405a commit ea0d0db
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,10 @@ export type Arrayable<T> = T | Array<T>
* Function
*/
export type Fn<T = void> = () => T

/**
* AnyObject
*/
export interface AnyObject {
[key: string]: any
}

0 comments on commit ea0d0db

Please sign in to comment.