Skip to content

Commit bc6c3ef

Browse files
authored
fix(gatsby): fix types for printTypeDefinitions action (#37647)
1 parent 7dfef03 commit bc6c3ef

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

packages/gatsby/index.d.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1461,10 +1461,12 @@ export interface Actions {
14611461

14621462
printTypeDefinitions(
14631463
this: void,
1464-
path?: string,
1465-
include?: { types?: Array<string>; plugins?: Array<string> },
1466-
exclude?: { types?: Array<string>; plugins?: Array<string> },
1467-
withFieldTypes?: boolean,
1464+
options: {
1465+
path?: string
1466+
include?: { types?: Array<string>; plugins?: Array<string> }
1467+
exclude?: { types?: Array<string>; plugins?: Array<string> }
1468+
withFieldTypes?: boolean
1469+
},
14681470
plugin?: ActionPlugin,
14691471
traceId?: string
14701472
): void

0 commit comments

Comments
 (0)