Skip to content

Where to get type definitions for 'fetch' in TypeScript? #163

@Arsync

Description

@Arsync

The 'fetch' is not exists on Model.

For example, as it shown here in manuals:

await Comment.fetch('42'); // Unsafe call of an any typed value.
// or
await Comment.fetch({ id: '42' }); // Unsafe call of an any typed value.
// or
await Comment.dispatch('fetch', { filter: { id: '42' }}) // Ok, this one works.

we got 'Unsafe call of an any typed value' error.

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