Skip to content

Commit 27b7059

Browse files
authored
improvement: make playground's middleware settings optional (#1322)
use a `Partial` for `settings` key
1 parent 60c6640 commit 27b7059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/graphql-playground-html/src/render-playground-page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export interface MiddlewareOptions {
88
workspaceName?: string
99
env?: any
1010
config?: any
11-
settings?: ISettings
11+
settings?: Partial<ISettings>
1212
schema?: IntrospectionResult
1313
tabs?: Tab[]
1414
codeTheme?: EditorColours

0 commit comments

Comments
 (0)