Skip to content

Commit

Permalink
Block Editor: Add BlockContext component to type-checking (#22353)
Browse files Browse the repository at this point in the history
* Block Editor: Add BlockContext component to type-checking

* Include element package in references
  • Loading branch information
aduth committed May 18, 2020
1 parent 64d0351 commit 85bd059
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/block-editor/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@
"rootDir": "src",
"declarationDir": "build-types"
},
"references": [
{ "path": "../element" }
],
// 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"
]
}

0 comments on commit 85bd059

Please sign in to comment.