Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz committed Sep 30, 2021
1 parent 05d77ef commit 7e34064
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ResolverFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

"use strict";

const versions = require("process").versions;
const findPnpApi = require("module").findPnpApi;
const versions = require("process").versions;
const Resolver = require("./Resolver");
const { getType, PathType } = require("./util/path");

Expand Down
6 changes: 5 additions & 1 deletion types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,11 @@ type Plugin =
| { apply: (arg0: Resolver) => void }
| ((this: Resolver, arg1: Resolver) => void);
declare interface PnpApiImpl {
resolveToUnqualified: (arg0: string, arg1: string, arg2: object) => string | null;
resolveToUnqualified: (
arg0: string,
arg1: string,
arg2: object
) => null | string;
}
declare interface PossibleFileSystemError {
code?: string;
Expand Down

0 comments on commit 7e34064

Please sign in to comment.