update js lib doc
This commit is contained in:
parent
4b336e4456
commit
3b1872a9dc
@ -22,7 +22,7 @@ This is a simple example of how to use the Javascript library to get a player's
|
||||
```javascript
|
||||
import { getPlayer, CachedPlayer } from "mcutils-library";
|
||||
|
||||
const cachedPlayer = await getPlayer(playerId);
|
||||
const cachedPlayer: CachedPlayer = await getPlayer(playerId);
|
||||
|
||||
console.log(player);
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user