Skip to content

Cannot resolve symbol 'Type' with ember-data/warp-drive import #290

@vlascik

Description

@vlascik

ember-data / warp-drive uses a Symbol named Type to brand the type of models: https://docs.warp-drive.io/guides/misc/2-typescript/4-why-brands

However, e.g. in a my-model.ts file, the import

import { Type } from '@warp-drive/core-types/symbols';

ends up with Cannot resolve symbol 'Type' in Problems tools window/inline inspection. VSCode extension resolves the symbol correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions