Skip to content

Commit b1cbacd

Browse files
committed
fix(Type): remove __constraint
1 parent 5c5399e commit b1cbacd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/types/Type.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import makeWarningMessage from '../errorReporting/makeWarningMessage'
1010
*/
1111
export default class Type<T> {
1212
readonly __type: T = null as any
13-
readonly __constraint: (value: T) => any = null as any
1413
typeName = 'Type'
1514

1615
static __compareTypes: (a: Type<any>, b: Type<any>) => -1 | 0 | 1;

0 commit comments

Comments
 (0)