Add D1 type

This commit is contained in:
regalijan 2023-10-19 16:49:30 -04:00
parent 96a4ba2b47
commit 7774a04c86
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

1
index.d.ts vendored
View File

@ -5,6 +5,7 @@ declare global {
interface Env { interface Env {
ASSETS: Fetcher; ASSETS: Fetcher;
D1: D1Database;
DATA: KVNamespace; DATA: KVNamespace;
[k: string]: string; [k: string]: string;
} }