-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtypes.ts
More file actions
26 lines (25 loc) · 668 Bytes
/
types.ts
File metadata and controls
26 lines (25 loc) · 668 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
export interface PlaygroundElementsIde {
projectSrc?: string
lineNumbers: boolean
lineWrapping: boolean
editableFileSystem: boolean
resizable: boolean
sandboxBaseUrl: string
pragmas: 'on' | 'off' | 'off-visible'
modified: boolean
htmlFile: string
noCompletions: boolean
}
export interface PlaygroundElementsOptions {
/**
* `playground-ide` options.
*
* @see https://github.com/google/playground-elements#playground-ide
*/
ide?: Partial<PlaygroundElementsIde>
}
export interface ResolvedPlaygroundElementsOptions extends Omit<PlaygroundElementsOptions, 'ide'> {
ide: PlaygroundElementsIde
pgSw: string
pgSWProxyHtml: string
}