Skip to content

Array attribute typing seems to be wrong #457

@canrozanes

Description

@canrozanes

The following line suggest that array attribute takes in two arguments, type and options.

function array(type, options) {

Whereas the existing type information defined in the line below suggest array attribute does not take any arguments:

export function array<T extends keyof TransformRegistry>(): ComputedProperty<TransformRegistry[T]>;

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUsed when the PR fixes a bug included in a previous release.good first issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions