Skip to content

🐛 BUG: import actions underlined as error #1049

@OliwierL

Description

@OliwierL

Describe the Bug

Astro extension underlines "actions" in

"import { actions } from "astro:actions";

giving error

Module '"astro:actions"' has no exported member 'actions'.ts(2305)

this error occurs only in .astro files (works fine in .ts)

Steps to Reproduce

  1. create astro project
  2. include deno adapter
  3. follow astro action guide
  4. copy 5th step code into .astro file within the project

Link to Minimal Reproducible Example

https://open-vsx.org/vscode/item?itemName=astro-build.astro-vscode

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageIssue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions