Skip to content

Cannot find module 'virtual:apostrophe-doctypes' or its corresponding type declarations.ts(2307) #50

@pshemek

Description

@pshemek

Hi, I started playing with your recent Astro starter kit template.

I have one issue that Typescript in the editor looks into node_modules and yells at me about declarations like:

import { templates } from 'virtual:apostrophe-doctypes';

that it "Cannot find module 'virtual:apostrophe-doctypes' or its corresponding type declarations.ts(2307)"

(Also concerns the other "virtuals" like 'virtual:apostrophe-config';)

It's not a big deal but I wonder if something could be done with that.

Thanks.

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