mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-10 04:50:53 +01:00
Improve types
This commit is contained in:
parent
4a53a760e6
commit
7c2de0b6a8
2 changed files with 5 additions and 6 deletions
8
src/types/env.d.ts
vendored
8
src/types/env.d.ts
vendored
|
@ -15,9 +15,5 @@ declare const RELEASE_NAME: string;
|
||||||
|
|
||||||
declare const TEST: boolean | undefined;
|
declare const TEST: boolean | undefined;
|
||||||
|
|
||||||
declare const TwitterProxy: {
|
declare const TwitterProxy: Fetcher;
|
||||||
fetch: (
|
declare const AnalyticsEngine: AnalyticsEngineDataset;
|
||||||
input: RequestInfo<unknown, CfProperties<unknown>>,
|
|
||||||
init?: RequestInit<RequestInitCfProperties> | undefined
|
|
||||||
) => Promise<Response>;
|
|
||||||
};
|
|
|
@ -6,6 +6,9 @@ send_metrics = false
|
||||||
services = [
|
services = [
|
||||||
{ binding = "TwitterProxy", service = "elongator" }
|
{ binding = "TwitterProxy", service = "elongator" }
|
||||||
]
|
]
|
||||||
|
analytics_engine_datasets = [
|
||||||
|
{ binding = "AnalyticsEngine" }
|
||||||
|
]
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
command = "npm run build"
|
command = "npm run build"
|
||||||
|
|
Loading…
Add table
Reference in a new issue