Skip to content

Possible type definition error in toDataNodes (index.d.ts, v10.4.0+) #87

@JerBast

Description

@JerBast

It seems that the return type syntax for toDataNodes in your index.d.ts file has been invalid since v10.4.0. The type void 0[] is most likely meant to be DataNode[]. We experienced this issue during one of our builds.

readonly toDataNodes: (data: unknown, pointer?: string) => void 0[];
readonly toJSON: () => any;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions