Skip to content

Commit

Permalink
fix: add type field to LoaderRunnerLoaderContext type
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprobst committed Jan 21, 2022
1 parent b944091 commit 8449111
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions declarations/LoaderContext.d.ts
Expand Up @@ -187,6 +187,7 @@ export interface LoaderRunnerLoaderContext<OptionsType> {
data: object | undefined;
pitchExecuted: boolean;
normalExecuted: boolean;
type?: "commonjs" | "module" | undefined;
}[];

/**
Expand Down
1 change: 1 addition & 0 deletions types.d.ts
Expand Up @@ -6297,6 +6297,7 @@ declare interface LoaderRunnerLoaderContext<OptionsType> {
data?: object;
pitchExecuted: boolean;
normalExecuted: boolean;
type?: "module" | "commonjs";
}[];

/**
Expand Down

0 comments on commit 8449111

Please sign in to comment.