Skip to content

Commit

Permalink
Build project references for type checking, see #1156
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Nov 28, 2021
1 parent 50fbf98 commit 70a4c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/scripts/hook-pre-commit.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const withServer = require( '../common/withServer' );

const tsc = require( '../../../chipper/js/grunt/tsc' );
if ( tsc.apiVersion === '1.0' ) {
const results = await tsc( `../${repo}`, [] );
const results = await tsc( `../${repo}`, [ '--build' ] );
if ( results.code === 0 ) {
outputToConsole && console.log( 'tsc passed' );
}
Expand Down

0 comments on commit 70a4c36

Please sign in to comment.