Skip to content

Commit

Permalink
fix: allow both number and string as Metro module id
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Jul 4, 2024
1 parent 3ce6926 commit c934d0b
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 c934d0b

Please sign in to comment.