ts-toolbelt
Advanced tools
Comparing version 1.0.53 to 1.0.54
{ | ||
"name": "ts-toolbelt", | ||
"version": "1.0.53", | ||
"version": "1.0.54", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "author": "Pierre-Antoine Mills", |
@@ -127,26 +127,21 @@ <p align="center"> | ||
#### You can either use it like | ||
#### Imports | ||
When you are going to combine types together | ||
There is many ways to import the types into your project | ||
```ts | ||
import {A, B, C, F, I, N, O, S, T, U} from 'ts-toolbelt' | ||
``` | ||
* The explicit way | ||
```ts | ||
import {Any, Boolean, Class, Function, Iteration, Number, Object, String, Tuple, Union} from 'ts-toolbelt' | ||
``` | ||
#### Or in its more explicit way | ||
* The compact way | ||
```ts | ||
import {A, B, C, F, I, N, O, S, T, U} from 'ts-toolbelt' | ||
``` | ||
When you are just using simple type operations | ||
* The portable way | ||
```ts | ||
import tb from 'ts-toolbelt' | ||
``` | ||
```ts | ||
import {Any, Boolean, Class, Function, Iteration, Number, Object, String, Tuple, Union} from 'ts-toolbelt' | ||
``` | ||
#### Or in its most compact way | ||
When you want to keep them in a single namespace | ||
```ts | ||
import tb from 'ts-toolbelt' | ||
``` | ||
#### Internal Docs | ||
@@ -153,0 +148,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
116106
249