Skip to content

Commit 65b0d82

Browse files
committed
chore: remove unneeded comment
1 parent 0495799 commit 65b0d82

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/types.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,3 @@ export type ValueOrFunction<D extends number, T> =
2020
| T
2121
| ((vector: Vector<D>) => T)
2222
| null;
23-
24-
// Removed as it would cause the vector parameter to have a type of any instead of Vector
25-
// export type ValueOrFunction<D extends number, T> =
26-
// | (T extends boolean
27-
// ? boolean | SelfAwareCallback<D, boolean> // To solve boolean expansion: https://github.com/microsoft/TypeScript/issues/30029
28-
// : T extends any // To solve non-callable expression bug: https://github.com/microsoft/TypeScript/issues/37663
29-
// ? T | SelfAwareCallback<D, T>
30-
// : never)
31-
// | null;

0 commit comments

Comments
 (0)