File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
packages/gatsby-source-filesystem Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
- import { Node , Store , Cache } from "gatsby"
1
+ import { Node , Store , NodePluginArgs } from "gatsby"
2
2
3
3
/**
4
4
* @see https://www.gatsbyjs.org/packages/gatsby-source-filesystem/?=files#createfilepath
@@ -29,7 +29,8 @@ export interface CreateFilePathArgs {
29
29
export interface CreateRemoteFileNodeArgs {
30
30
url : string
31
31
store : Store
32
- cache : Cache [ "cache" ]
32
+ // TODO: use GatsbyCache type (requires gatsby@2.22.13)
33
+ cache : NodePluginArgs [ "cache" ]
33
34
createNode : Function
34
35
createNodeId : Function
35
36
parentNodeId ?: string
@@ -46,7 +47,8 @@ export interface CreateRemoteFileNodeArgs {
46
47
export interface CreateFileNodeFromBufferArgs {
47
48
buffer : Buffer
48
49
store : Store
49
- cache : Cache [ "cache" ]
50
+ // TODO: use GatsbyCache type (requires gatsby@2.22.13)
51
+ cache : NodePluginArgs [ "cache" ]
50
52
createNode : Function
51
53
createNodeId : Function
52
54
parentNodeId ?: string
You can’t perform that action at this time.
0 commit comments