From 3b1872a9dc9d42d13c8ea1bb8d40b21146c6f47c Mon Sep 17 00:00:00 2001 From: Liam Date: Sun, 21 Apr 2024 02:44:47 +0100 Subject: [PATCH] update js lib doc --- documentation/libraries/javascript.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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