update js lib doc

This commit is contained in:
Lee 2024-04-21 02:44:47 +01:00
parent 4b336e4456
commit 3b1872a9dc

View File

@ -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);
```