Skip to content
This repository was archived by the owner on Feb 16, 2021. It is now read-only.

Commit af3e431

Browse files
committed
Update README.md
Slight adjustment to the doc
1 parent 6fabc3c commit af3e431

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Transforms a JSON Schema to a type [tcomb](https://github.com/gcanti/tcomb) type
22

33
# API
44

5-
## toType(schema: JSONSchema): Type
5+
## transform(schema: JSONSchema): Type
66

77
**Example**
88

@@ -40,4 +40,4 @@ Removes all registered formats.
4040

4141
```js
4242
transform.resetFormats();
43-
```
43+
```

0 commit comments

Comments
 (0)