diff --git a/packages/element/package.json b/packages/element/package.json index 4542ddcbfd956..78a06bcb1f229 100644 --- a/packages/element/package.json +++ b/packages/element/package.json @@ -21,6 +21,7 @@ "main": "build/index.js", "module": "build-module/index.js", "react-native": "src/index", + "types": "build-types", "sideEffects": false, "dependencies": { "@babel/runtime": "^7.9.2", diff --git a/packages/icons/package.json b/packages/icons/package.json index dd1f25f846c42..5c5ea650f9dd1 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -22,6 +22,7 @@ "main": "build/index.js", "module": "build-module/index.js", "react-native": "src/index", + "types": "build-types", "dependencies": { "@babel/runtime": "^7.9.2", "@wordpress/element": "../element", diff --git a/packages/primitives/package.json b/packages/primitives/package.json index 349814a1a1044..d19b8dce9f245 100644 --- a/packages/primitives/package.json +++ b/packages/primitives/package.json @@ -21,6 +21,7 @@ "main": "build/index.js", "module": "build-module/index.js", "react-native": "src/index", + "types": "build-types", "sideEffects": false, "dependencies": { "@babel/runtime": "^7.9.2", diff --git a/tsconfig.json b/tsconfig.json index 6289f6d232275..d5a8c2486468f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,11 +6,14 @@ { "path": "packages/blob" }, { "path": "packages/block-editor" }, { "path": "packages/dom-ready" }, + { "path": "packages/element" }, { "path": "packages/escape-html" }, { "path": "packages/html-entities" }, { "path": "packages/i18n" }, + { "path": "packages/icons" }, { "path": "packages/is-shallow-equal" }, { "path": "packages/prettier-config" }, + { "path": "packages/primitives" }, { "path": "packages/priority-queue" }, { "path": "packages/project-management-automation" }, { "path": "packages/token-list" }, @@ -18,13 +21,8 @@ { "path": "packages/warning" }, // REMOVE: For detecting DT conflicts - { "path": "dt-canary" } - - // Temporarily disabled due to conflicts with 3rd party DefinitelyTyped types // See https://github.com/WordPress/gutenberg/pull/21613 - // { "path": "packages/element" }, - // { "path": "packages/icons" }, - // { "path": "packages/primitives" } + { "path": "dt-canary" } ], "files": [] }