Skip to content

Commit

Permalink
fix js
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Nov 26, 2024
1 parent 05cdb99 commit eba1049
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ export interface ResolvedDependency {
* resolvable in the module graph. If there was an error, `error` will be set
* and this will be undefined. */
specifier?: string;
mode?: "import" | "require";
/** Resolution mode used to resolve the dependency. */
resolutionMode?: "import" | "require";
/** Any error encountered when trying to resolved the specifier. If this is
* defined, `specifier` will be undefined. */
error?: string;
Expand Down

0 comments on commit eba1049

Please sign in to comment.