From ddf53d4e5abcef8cc744b287a754d50d72dc7a99 Mon Sep 17 00:00:00 2001 From: Cedric van Putten Date: Thu, 4 Jul 2024 20:36:11 +0200 Subject: [PATCH] fix: allow both `number` and `string` as Metro module id --- src/data/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/types.ts b/src/data/types.ts index c11ac64..8c7cf0f 100644 --- a/src/data/types.ts +++ b/src/data/types.ts @@ -48,7 +48,7 @@ export type AtlasBundleDelta = { export type AtlasModule = { /** The internal module ID given by Metro */ - id: number; + id: number | string; /** The absoluate path of this module, in the platform-original format */ absolutePath: string; /** The relative path of this module, to the shared root of the bundle, in posix format */