Skip to content

Commit 4623912

Browse files
authored
docs: update typebox references (#245)
1 parent 2c8319e commit 4623912

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A Type Provider for [Typebox](https://github.com/sinclairzx81/typebox).
99
## Installation
1010

1111
```sh
12-
npm i @sinclair/typebox # Required as peer dependency
12+
npm i typebox # Required as peer dependency
1313
npm i @fastify/type-provider-typebox
1414
```
1515

@@ -57,8 +57,8 @@ import { TypeBoxTypeProvider } from '@fastify/type-provider-typebox'
5757

5858
// This package re-export Typebox package
5959
// but you can also use any builders imported
60-
// directly from @sinclair/typebox
61-
import { Type } from '@sinclair/typebox'
60+
// directly from typebox
61+
import { Type } from 'typebox'
6262

6363

6464
const fastify = Fastify().withTypeProvider<TypeBoxTypeProvider>()
@@ -193,7 +193,7 @@ fastify.withTypeProvider<TypeBoxTypeProvider>().get('/', {
193193
})
194194
```
195195

196-
For additional information on this compiler, please refer to the TypeBox documentation located [here](https://github.com/sinclairzx81/typebox#Compiler).
196+
For additional information on this compiler, please refer to the TypeBox documentation located [here](https://github.com/sinclairzx81/typebox#Compile).
197197

198198
## License
199199

0 commit comments

Comments
 (0)