Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix check type declarations
  • Loading branch information
talldan committed Oct 5, 2026
commit b5f49679cc894e706b63ef3c11f2d5b828a6981e
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async function getDecFile( packagePath ) {
async function typecheckDeclarations( file ) {
return new Promise( ( resolve, reject ) => {
exec(
`npm exec --no -- tsc --ignoreConfig --target esnext --moduleResolution bundler --noEmit --skipLibCheck "${ file }"`,
`npm exec --no --workspace @wordpress/build-scripts -- tsc --ignoreConfig --target esnext --moduleResolution bundler --noEmit --skipLibCheck "${ file }"`,
Comment thread
ramonjd marked this conversation as resolved.
( error, stdout, stderr ) => {
if ( error ) {
reject( { file, error, stderr, stdout } );
Expand Down
Loading