File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed
src/presets/cloudflare/wrangler Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change 1
- // Extracted from miniflare
2
- export type Json =
3
- | string
4
- | number
5
- | boolean
6
- | {
7
- [ key : string ] : Json ;
8
- }
9
- | Json [ ] ;
10
-
11
1
// Extracted from @types /yargs
12
2
type PascalCase < S extends string > = string extends S
13
3
? string
Original file line number Diff line number Diff line change 6
6
* Source: https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/src/config/environment.ts
7
7
*/
8
8
9
- import type { Json } from "./_utils" ;
10
-
11
9
/**
12
10
* The `Environment` interface declares all the configuration fields that
13
11
* can be specified for an environment.
@@ -455,7 +453,7 @@ export interface EnvironmentNonInheritable {
455
453
* @default {}
456
454
* @nonInheritable
457
455
*/
458
- vars : Record < string , string | Json > ;
456
+ vars : Record < string , unknown > ;
459
457
460
458
/**
461
459
* A list of durable objects that your Worker should be bound to.
You can’t perform that action at this time.
0 commit comments