Update readme.md
This commit is contained in:
parent
d97524932c
commit
50267157bd
1 changed files with 2 additions and 2 deletions
|
|
@ -54,11 +54,11 @@ assert.string(foo);
|
|||
// `foo` is now typed as a `string`.
|
||||
```
|
||||
|
||||
## Named Exports
|
||||
### Named exports
|
||||
|
||||
Named exports allow tooling to perform tree-shaking, potentially reducing bundle size by including only code from the methods that are used.
|
||||
|
||||
Every method listed above is available as a named export. Each method is prefixed by either `is` or `assert` depending on usage.
|
||||
Every method listed below is available as a named export. Each method is prefixed by either `is` or `assert` depending on usage.
|
||||
|
||||
For example:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue