Skip to content

Will there be explicit types for GPUDeviceDescriptor.requiredLimits? #181

@iampi31415

Description

@iampi31415

In this line the types are defined as a Record<string,number> (pretty much); but from what it seems, all the properties there should be named.

Will this be done? Does it need to be done? That would be the only way to get both types, and auto-completion so it's quite useful.


According to this SO answer. the typeRoots isn't a good way to add the types.

Unsure whether you disagree, since you have it as recommended in the README.md

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