Skip to content

Commit

Permalink
chore(base-driver): do not use EmptyObject
Browse files Browse the repository at this point in the history
I do not trust it
  • Loading branch information
boneskull committed Jan 3, 2023
1 parent 7d7b510 commit fe7b7b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/base-driver/lib/basedriver/capabilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function mergeCaps(primary = {}, secondary = {}) {

// Validates caps against a set of constraints
/**
* @template {Constraints} [C=import('type-fest').EmptyObject]
* @template {Constraints} [C={}]
* @param {Capabilities<C>} caps
* @param {C} [constraints]
* @param {ValidateCapsOpts} [opts]
Expand Down
2 changes: 1 addition & 1 deletion packages/base-driver/lib/basedriver/driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ export class BaseDriverCore extends DriverCore {

/**
* This ensures that all of the mixins correctly implement the interface described in {@linkcode Driver}.
* @template {Constraints} [C=import('type-fest').EmptyObject]
* @template {Constraints} [C={}]
* @implements {Driver<C>}
*/
export class BaseDriver extends createBaseDriverClass(BaseDriverCore) {}
Expand Down

0 comments on commit fe7b7b6

Please sign in to comment.