Comparing version 2.1.1 to 2.1.2
{ | ||
"name": "fast-sort", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "Fast and powerful array sorting. Sort by any property in any direction with easy to read syntax.", | ||
@@ -5,0 +5,0 @@ "main": "dist/sort.js", |
@@ -222,2 +222,22 @@ # fast-sort | ||
### Usage with ts-node | ||
In a nodeJS environment, when fast-sort is being imported with ts-node, you might see an error along the lines of: | ||
``` | ||
TypeError { | ||
message: 'fast_sort_1.default is not a function', | ||
} | ||
``` | ||
In this case just add this to your `tsconfig.json`: | ||
```json | ||
{ | ||
"compilerOptions": { | ||
"esModuleInterop": true | ||
} | ||
} | ||
``` | ||
### Fast sort versions | ||
@@ -224,0 +244,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
29906
299