Skip to content

Commit

Permalink
fix(web-components): add --noEmit for type-checking task (#31452)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hotell authored May 22, 2024
1 parent b153d70 commit 98bbbe9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "fix: add --noEmit for type-checking task",
"packageName": "@fluentui/web-components",
"email": "[email protected]",
"dependentChangeType": "none"
}
2 changes: 1 addition & 1 deletion packages/web-components/scripts/type-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async function main() {
const asyncQueue = [];

for (const ref of tsConfigsRefs) {
const program = `tsc -p ${ref} --pretty --baseUrl .`;
const program = `tsc -p ${ref} --pretty --noEmit --baseUrl .`;
asyncQueue.push(asyncExec(program));
}

Expand Down

0 comments on commit 98bbbe9

Please sign in to comment.