Skip to content

Commit

Permalink
Make HaysonList an interface to reduce type complexity issues
Browse files Browse the repository at this point in the history
  • Loading branch information
garethj2 committed Jan 14, 2025
1 parent e934233 commit 9f91ddf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/hayson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ export type HaysonVal =
| HaysonGrid
| null

export type HaysonList = Array<HaysonVal>
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
export interface HaysonList extends Array<HaysonVal> {}

export interface HaysonDict {
[prop: string]: HaysonVal
Expand Down

0 comments on commit 9f91ddf

Please sign in to comment.