Skip to content

Commit

Permalink
fix: udpate types
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed May 9, 2023
1 parent 460b4d6 commit 12f9588
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3506,6 +3506,7 @@ declare class EnvironmentPlugin {
*/
apply(compiler: Compiler): void;
}
type ErrorWithDetail = Error & { details?: string };
declare interface Etag {
toString: () => string;
}
Expand Down Expand Up @@ -8023,19 +8024,19 @@ declare interface NormalModuleLoaderContext<OptionsType> {
context: string,
request: string,
callback: (
arg0: null | Error,
arg1?: string | false,
arg2?: ResolveRequest
err: null | ErrorWithDetail,
res?: string | false,
req?: ResolveRequest
) => void
): any;
getResolve(options?: ResolveOptionsWithDependencyType): {
(
context: string,
request: string,
callback: (
arg0: null | Error,
arg1?: string | false,
arg2?: ResolveRequest
err: null | ErrorWithDetail,
res?: string | false,
req?: ResolveRequest
) => void
): void;
(context: string, request: string): Promise<string>;
Expand Down Expand Up @@ -10134,9 +10135,9 @@ declare abstract class Resolver {
request: string,
resolveContext: ResolveContext,
callback: (
arg0: null | Error,
arg1?: string | false,
arg2?: ResolveRequest
err: null | ErrorWithDetail,
res?: string | false,
req?: ResolveRequest
) => void
): void;
doResolve(
Expand Down

0 comments on commit 12f9588

Please sign in to comment.