Skip to content

antonyfaris/deno-astro-db-types

Repository files navigation

Steps to reproduce

Install dependencies and build the project:

  1. pnpm i
  2. pnpm build

pnpm preview works as expected, but the types of astro:db in db/seeds are not working properly.

import { db, Comment } from "astro:db";
              ^ Module '"astro:db"' has no exported member 'Comment'.deno-ts(2305)

The types for Comment are generated by Astro and can be found in .astro/db-types.d.ts

In .vscode/settings.json if you change "deno.enable": true, to false it will work fine with Node.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published