From 1c7fdd4049bc909b55902d3dbf3b81c106ecc694 Mon Sep 17 00:00:00 2001 From: peter cross Date: Tue, 19 Dec 2023 12:26:37 +0300 Subject: [PATCH] Fixing doc mistake (#809) --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index c541a2ffb..7fa89c8fc 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1059,7 +1059,7 @@ export interface KaboomCtx { * @example * ```js * loadRoot("https://myassets.com/") - * loadSprite("bean", "sprites/bean.png") // will resolve to "https://myassets.com/sprites/frogg.png" + * loadSprite("bean", "sprites/bean.png") // will resolve to "https://myassets.com/sprites/bean.png" * ``` */ loadRoot(path?: string): string,