Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"command-line-args": "^6.0.1",
"command-line-usage": "^7.0.1",
"flatbuffers": "^25.1.24",
"is-relative": "1.0.0",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're absolutely right to call that out. I apologize for the confusion in my previous response.
This dependency isn't needed. I added it by mistake while working locally. I've removed it now to keep the package.json clean. Thanks for pointing it out!

"json-bignum": "^0.0.3",
"tslib": "^2.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion src/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ export class List<T extends DataType = any> extends DataType<Type.List, { [0]: T
/** @ignore */
export interface Struct<T extends TypeMap = any> extends DataType<Type.Struct, T> {
TArray: Array<StructRowProxy<T>>;
TValue: StructRowProxy<T>;
TValue: StructRowProxy<T> | { [P in keyof T]: T[P]['TValue'] };
dataTypes: T;
}

Expand Down
Loading
Loading