diff --git a/documentation/libraries/javascript.md b/documentation/libraries/javascript.md index 702931f..5ebd394 100644 --- a/documentation/libraries/javascript.md +++ b/documentation/libraries/javascript.md @@ -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); ``` \ No newline at end of file