Add D1 type
This commit is contained in:
parent
96a4ba2b47
commit
7774a04c86
1
index.d.ts
vendored
1
index.d.ts
vendored
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user