Comparing version 1.1.0 to 1.1.1
@@ -52,4 +52,7 @@ "use strict"; | ||
Enum(enumInstance) { | ||
// @ts-expect-error | ||
return { enumInstance }; | ||
return { | ||
[exports.dataTypeSymbol]: true, | ||
// @ts-expect-error | ||
enumInstance, | ||
}; | ||
} }); |
{ | ||
"name": "dilswer", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -18,7 +18,6 @@ # Dilswer | ||
1. [createValidator()](#dilswercreatevalidator) | ||
2. [createChecker()](#dilswercreatechecker) | ||
3. [createTypeGuardedFunction()](#dilswercreatetypeguardedfunction) | ||
4. [createValidatedFunction()](#dilswercreatevalidatedfunction) | ||
5. [ensureDataType()](#dilswerensuredatatype) | ||
6. [DataType](#dilswerdatatype) | ||
2. [createTypeGuardedFunction()](#dilswercreatetypeguardedfunction) | ||
3. [createValidatedFunction()](#dilswercreatevalidatedfunction) | ||
4. [ensureDataType()](#dilswerensuredatatype) | ||
5. [DataType](#dilswerdatatype) | ||
4. [Data Types](#data-types) | ||
@@ -181,6 +180,2 @@ 1. [String](#datatypestring) | ||
#### dilswer.createChecker() | ||
Alias for the `createValidator()`. | ||
#### dilswer.createTypeGuardedFunction() | ||
@@ -377,3 +372,3 @@ | ||
const foo = DataType.Enum(MyEnum.A); | ||
const foo = DataType.EnumMember(MyEnum.A); | ||
@@ -380,0 +375,0 @@ type T = GetDataType<typeof foo>; // type T = MyEnum.A |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1031
65458
65
500