Skip to content

Commit

Permalink
fix: install-npm.js fails to run tsc
Browse files Browse the repository at this point in the history
  • Loading branch information
rerorero committed Mar 14, 2023
1 parent d3927ba commit 2acb6f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ const getOsInfo = _.memoize(
}
);

// @ts-expect-error
// error TS2345: Argument of type '{}' is not assignable to parameter of type 'DriverOpts<Readonly<Record<string, Constraint>>>'
// Type '{}' is missing the following properties from type 'ServerArgs': address, allowCors, allowInsecure, basePath, and 26 more.
const getBaseDriverInstance = _.memoize(() => new BaseDriver({}, false));

/**
Expand Down

0 comments on commit 2acb6f4

Please sign in to comment.