Skip to content

Commit a5a2162

Browse files
authored
fix(gatsby): correct the types of createNode action return (#32522)
1 parent 6cac9d2 commit a5a2162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gatsby/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,7 @@ export interface Actions {
11861186
node: NodeInput & TNode,
11871187
plugin?: ActionPlugin,
11881188
options?: ActionOptions
1189-
): void
1189+
): void | Promise<void>
11901190

11911191
/** @see https://www.gatsbyjs.com/docs/actions/#touchNode */
11921192
touchNode(node: NodeInput, plugin?: ActionPlugin): void

0 commit comments

Comments
 (0)