Skip to content

Commit

Permalink
fix(gatsby): Fixes incorrect type (#31358) (#31365)
Browse files Browse the repository at this point in the history
(cherry picked from commit f629806)

Co-authored-by: Lennart <lekoarts@gmail.com>
  • Loading branch information
GatsbyJS Bot and LekoArts committed May 11, 2021
1 parent 63942db commit a44a426
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/gatsby/index.d.ts
Expand Up @@ -743,7 +743,7 @@ export interface CreateDevServerArgs extends ParentSpanPluginArgs {
export interface CreateNodeArgs<
TNode extends Record<string, unknown> = Record<string, unknown>
> extends ParentSpanPluginArgs {
node: Node<TNode>
node: Node & TNode
traceId: string
traceTags: {
nodeId: string
Expand Down
3 changes: 2 additions & 1 deletion packages/gatsby/package.json
Expand Up @@ -251,7 +251,8 @@
"prebuild": "rimraf dist && rimraf cache-dir/commonjs",
"postinstall": "node scripts/postinstall.js",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "rimraf dist && mkdir dist && npm run build:internal-plugins && npm run build:rawfiles && npm run build:src -- --watch"
"watch": "rimraf dist && mkdir dist && npm run build:internal-plugins && npm run build:rawfiles && npm run build:src -- --watch",
"typecheck": "tsc --noEmit"
},
"types": "index.d.ts",
"yargs": {
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Expand Up @@ -12,7 +12,6 @@
"strictFunctionTypes": true,
"strictPropertyInitialization": true,
"noFallthroughCasesInSwitch": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"jsx": "preserve",
Expand Down

0 comments on commit a44a426

Please sign in to comment.