From 909fbed6aff3d5ce5eff5a3f37ef566b35cbf7f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Tue, 1 Nov 2022 11:06:06 +0000 Subject: [PATCH] feat: made method private --- examples/web/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/web/index.ts b/examples/web/index.ts index 60dc960d..c6b8d6dd 100644 --- a/examples/web/index.ts +++ b/examples/web/index.ts @@ -562,7 +562,7 @@ class GameboyEmulator extends Observable implements Emulator { } } - async fetchRom(romPath: string): Promise<[string, Uint8Array]> { + private async fetchRom(romPath: string): Promise<[string, Uint8Array]> { // extracts the name of the ROM from the provided // path by splitting its structure const romPathS = romPath.split(/\//g); -- GitLab