Skip to content

Type Test is not assignable to type Record<string | number | symbol, unknown> Index signature for type string is missing in type Test #855

@christian98

Description

@christian98

I created a small repro for my problem here: #854

I wanted to use route-model-binding with resources I get from my API. I have Typescript interfaces for all of my resources. But the route helper does not accept the object because the "Index signature for type string is missing".

Do you know a solution for this? It's the latest version of ziggy (2.5.3)

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