From 1c413bff67b8c634924e84c8269b89d451285b03 Mon Sep 17 00:00:00 2001 From: Chris Thoburn Date: Wed, 18 Dec 2024 23:39:11 -0800 Subject: [PATCH] chore: fix unnecessary object type --- packages/model/src/-private/attr.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/model/src/-private/attr.ts b/packages/model/src/-private/attr.ts index 79d6f3df3e6..fcc0b2be49b 100644 --- a/packages/model/src/-private/attr.ts +++ b/packages/model/src/-private/attr.ts @@ -53,7 +53,7 @@ export type AttrOptions = { defaultValue?: DV extends PrimitiveValue ? DV : () => DV; }; -function _attr(type?: string | AttrOptions, options?: AttrOptions & object) { +function _attr(type?: string | AttrOptions, options?: AttrOptions) { if (typeof type === 'object') { options = type; type = undefined;