From 85bd0590d16f5ed28ea8d584c51178952d0284b1 Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Mon, 18 May 2020 15:28:20 -0400 Subject: [PATCH] Block Editor: Add BlockContext component to type-checking (#22353) * Block Editor: Add BlockContext component to type-checking * Include element package in references --- packages/block-editor/tsconfig.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/block-editor/tsconfig.json b/packages/block-editor/tsconfig.json index 7cd3fd793fcbc7..55aa260a475945 100644 --- a/packages/block-editor/tsconfig.json +++ b/packages/block-editor/tsconfig.json @@ -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" ] }