Skip to content

Commit a199dcf

Browse files
committed
Revert "All packages depending on components should inherit skipLibCheck"
This reverts commit 143cbed.
1 parent 0e1a98c commit a199dcf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/block-editor/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
"extends": "../../tsconfig.base.json",
44
"compilerOptions": {
55
"rootDir": "src",
6-
"declarationDir": "build-types",
7-
"skipLibCheck": true
6+
"declarationDir": "build-types"
87
},
98
"references": [
109
{ "path": "../a11y" },

packages/block-library/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"rootDir": "src",
66
"declarationDir": "build-types",
77
"types": [ "gutenberg-env" ],
8-
"strictNullChecks": true,
9-
"skipLibCheck": true
8+
"strictNullChecks": true
109
},
1110
"references": [
1211
{ "path": "../a11y" },

packages/components/tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
"jest",
1111
"@testing-library/jest-dom"
1212
],
13+
// TODO: Remove `skipLibCheck` after resolving duplicate declaration of the `process` variable
14+
// between `@types/webpack-env` (from @storybook packages) and `gutenberg-env`.
1315
"skipLibCheck": true
1416
},
1517
"references": [

0 commit comments

Comments
 (0)