From 20b8552ed4aa1cde4149f8c59a8a992017c6a63c Mon Sep 17 00:00:00 2001 From: Cedric van Putten Date: Thu, 4 Jul 2024 20:52:37 +0200 Subject: [PATCH] fix: allow both `number` and `string` as Metro module id (#62) --- 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 */