Skip to content

Commit

Permalink
Revert "All packages depending on components should inherit skipLibCh…
Browse files Browse the repository at this point in the history
…eck"

This reverts commit 143cbed.
  • Loading branch information
sirreal committed May 8, 2024
1 parent 0e1a98c commit a199dcf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/block-editor/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "src",
"declarationDir": "build-types",
"skipLibCheck": true
"declarationDir": "build-types"
},
"references": [
{ "path": "../a11y" },
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"rootDir": "src",
"declarationDir": "build-types",
"types": [ "gutenberg-env" ],
"strictNullChecks": true,
"skipLibCheck": true
"strictNullChecks": true
},
"references": [
{ "path": "../a11y" },
Expand Down
2 changes: 2 additions & 0 deletions packages/components/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
"jest",
"@testing-library/jest-dom"
],
// TODO: Remove `skipLibCheck` after resolving duplicate declaration of the `process` variable
// between `@types/webpack-env` (from @storybook packages) and `gutenberg-env`.
"skipLibCheck": true
},
"references": [
Expand Down

0 comments on commit a199dcf

Please sign in to comment.