typedescriptor
Advanced tools
Comparing version 2.0.4 to 3.0.0
@@ -29,2 +29,2 @@ declare class TypeDescriptor { | ||
} | ||
export default TypeDescriptor; | ||
export { TypeDescriptor as Type }; |
@@ -81,2 +81,2 @@ "use strict"; | ||
} | ||
exports.default = TypeDescriptor; | ||
exports.Type = TypeDescriptor; |
@@ -126,2 +126,2 @@ const valueTypes = [ 'boolean', 'number', 'null', 'string', 'undefined' ]; | ||
export default TypeDescriptor; | ||
export { TypeDescriptor as Type }; |
{ | ||
"name": "typedescriptor", | ||
"version": "2.0.4", | ||
"version": "3.0.0", | ||
"description": "typedescriptor identifies and describes types.", | ||
@@ -19,4 +19,4 @@ "contributors": [ | ||
"devDependencies": { | ||
"assertthat": "4.0.2", | ||
"roboter": "7.5.0" | ||
"assertthat": "5.0.1", | ||
"roboter": "9.2.0" | ||
}, | ||
@@ -23,0 +23,0 @@ "repository": { |
@@ -26,3 +26,3 @@ # typedescriptor | ||
```javascript | ||
const Type = require('typedescriptor').default; | ||
const { Type } = require('typedescriptor'); | ||
``` | ||
@@ -33,3 +33,3 @@ | ||
```typescript | ||
import Type from 'typedescriptor'; | ||
import { Type } from 'typedescriptor'; | ||
``` | ||
@@ -36,0 +36,0 @@ |
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
12621