Skip to content

Use destructuring #214

@tnspacetime

Description

@tnspacetime
  • Version: "^5.4.8"

  • Problem: This is an example function signature

[useSortedRowIds](https://tinybase.org/api/ui-react/functions/store-hooks/usesortedrowids/)(
  tableId: string,
  cellId?: string,
  descending?: boolean,
  offset?: number,
  limit?: number,
  storeOrStoreId?: [StoreOrStoreId](https://tinybase.org/api/ui-react/type-aliases/identity/storeorstoreid/),
): [Ids](https://tinybase.org/api/common/type-aliases/identity/ids/)

which is quite inconvenient because irrelevant arguments need to be specified too. Could object destructuring be implemented? Thanks!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions