Skip to content

Commit d2d147a

Browse files
zirhoruisaraiva19
andauthored
docs: instructions for TypeScript import (#385)
* Update README.md * Update README.md * Update README.md * Update packages/react-youtube/README.md Co-authored-by: Rui Saraiva <[email protected]> * Update packages/react-youtube/README.md Co-authored-by: Rui Saraiva <[email protected]> Co-authored-by: Rui Saraiva <[email protected]>
1 parent 2ed59a6 commit d2d147a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/react-youtube/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@ yarn add react-youtube
3030
pnpm add react-youtube
3131
```
3232

33+
### TypeScript (optional)
34+
35+
```
36+
npm install -D @types/youtube-player
37+
# OR
38+
yarn add -D @types/youtube-player
39+
# OR
40+
pnpm add -D @types/youtube-player
41+
```
42+
3343
## Usage
3444

3545
```js

0 commit comments

Comments
 (0)