Skip to content

data should be typed as DataRow[] instead of DataRecord[] #41

Description

@yutannihilation

I see a type error in this example code on https://svelteplot.dev/why-svelteplot

    <RuleY data={[0]} />

because it assumes DataRecord[].

data: DataRecord[];

In some components, data is DataRow[]. Probably, this should be used in general?

data: DataRow[];

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions