Skip to content

Commit

Permalink
fix: allow both number and string as Metro module id (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric authored Jul 4, 2024
1 parent 0b8576b commit 20b8552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 20b8552

Please sign in to comment.