Skip to content

Commit

Permalink
fix: remove ErrorOptions reference
Browse files Browse the repository at this point in the history
this is not present until Node 18, maybe
  • Loading branch information
boneskull committed Oct 11, 2023
1 parent 2d088ba commit 4282e74
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/midnight-smoker/src/error.ts
Expand Up @@ -10,8 +10,7 @@ import {SmokeResults} from './types';
/**
* Options for {@link SmokerError} with a generic `Cause` type for `cause` prop.
*/
export interface SmokerErrorOpts<Cause extends object | void = void>
extends ErrorOptions {
export interface SmokerErrorOpts<Cause extends object | void = void> {
code?: string;
cause?: Cause;
}
Expand Down

0 comments on commit 4282e74

Please sign in to comment.