TypeScript types for data.records are too restrictive

This issue has been tracked since 2021-10-19.

Apologies for all the TS issues, please let me know if it's too much.

The records are only allowed to be strings, but I think numbers are valid as well.

interface Table1NF extends Filter {
  /** The list of the data series that make up the data set. */
  series?: Series[];
  /** The array of data records to be appended to the end of the data set. */
  records?: string[][];

Should the records only be strings? I have added a //@ts-ignore and this works with numbers. This [fiddle] also shows with numbers.

simzer wrote this answer on 2021-10-19

Thanks, it actually helps a lot, so please keep up the bug reporting if you find anything.

More Details About Repo
Owner Name vizzuhq
Repo Name vizzu-lib
Full Name vizzuhq/vizzu-lib
Language JavaScript
Created Date 2021-06-07
Updated Date 2022-11-22
Star Count 1630
Watcher Count 19
Fork Count 65
Issue Count 17


Issue Title Created Date Updated Date