Skip to content

Commit

Permalink
fix: Reference Function type
Browse files Browse the repository at this point in the history
  • Loading branch information
ssi02014 committed Jun 12, 2024
1 parent c750264 commit ccebd67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/types/src/Reference/Primitive.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('Reference', () => {
}

if (typeof value === 'function') {
expectTypeOf(value).toEqualTypeOf<Function | ((...args: any[]) => any)>();
expectTypeOf(value).toEqualTypeOf<Function>();
}

if (value instanceof Set) {
Expand Down
2 changes: 1 addition & 1 deletion packages/types/src/Reference/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export type Reference =
| object
| any[]
| ((...args: any[]) => any)
| Function
| Set<any>
| Map<any, any>
| WeakMap<object, any>
Expand Down

0 comments on commit ccebd67

Please sign in to comment.