Skip to content
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
2 changes: 1 addition & 1 deletion yarn.lock

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.

Do we need this change?

Original file line number Diff line number Diff line change
Expand Up @@ -6649,4 +6649,4 @@ yocto-queue@^0.1.0:
zstd-codec@0.1.5:
version "0.1.5"
resolved "https://registry.yarnpkg.com/zstd-codec/-/zstd-codec-0.1.5.tgz#c180193e4603ef74ddf704bcc835397d30a60e42"
integrity sha512-v3fyjpK8S/dpY/X5WxqTK3IoCnp/ZOLxn144GZVlNUjtwAchzrVo03h+oMATFhCIiJ5KTr4V3vDQQYz4RU684g==
integrity sha512-v3fyjpK8S/dpY/X5WxqTK3IoCnp/ZOLxn144GZVlNUjtwAchzrVo03h+oMATFhCIiJ5KTr4V3vDQQYz4RU684g==

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.

Could you revert this change?

Loading