Skip to content

Commit

Permalink
Add hooks references
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Oct 31, 2020
1 parent 2414a5c commit 3336540
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions packages/block-editor/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@
"rootDir": "src",
"declarationDir": "build-types"
},
"references": [
{ "path": "../element" }
],
"references": [ { "path": "../element" }, { "path": "../hooks" } ],
// NOTE: This package is being progressively typed. You are encouraged to
// expand this array with files which can be type-checked. At some point in
// the future, this can be simplified to an `includes` of `src/**/*`.
"files": [
"src/components/block-context/index.js",
"src/utils/dom.js"
]
"files": [ "src/components/block-context/index.js", "src/utils/dom.js" ]
}
2 changes: 1 addition & 1 deletion packages/components/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"rootDir": "src",
"declarationDir": "build-types"
},
"references": [ { "path": "../primitives" } ],
"references": [ { "path": "../hooks" }, { "path": "../primitives" } ],
"include": [
"src/base-control/**/*",
"src/dashicon/**/*",
Expand Down

0 comments on commit 3336540

Please sign in to comment.