From 4282e743d61b9a5ce0b5c939a9538c6310ea36d3 Mon Sep 17 00:00:00 2001 From: Christopher Hiller Date: Wed, 11 Oct 2023 15:34:59 -0700 Subject: [PATCH] fix: remove ErrorOptions reference this is not present until Node 18, maybe --- packages/midnight-smoker/src/error.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/midnight-smoker/src/error.ts b/packages/midnight-smoker/src/error.ts index d6c8790e4..0923f80a9 100644 --- a/packages/midnight-smoker/src/error.ts +++ b/packages/midnight-smoker/src/error.ts @@ -10,8 +10,7 @@ import {SmokeResults} from './types'; /** * Options for {@link SmokerError} with a generic `Cause` type for `cause` prop. */ -export interface SmokerErrorOpts - extends ErrorOptions { +export interface SmokerErrorOpts { code?: string; cause?: Cause; }