diff --git a/change/@fluentui-web-components-c8b47bb9-83cd-4bcc-92f6-c3fe1851402b.json b/change/@fluentui-web-components-c8b47bb9-83cd-4bcc-92f6-c3fe1851402b.json new file mode 100644 index 0000000000000..39f930e98bc4e --- /dev/null +++ b/change/@fluentui-web-components-c8b47bb9-83cd-4bcc-92f6-c3fe1851402b.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "fix: add --noEmit for type-checking task", + "packageName": "@fluentui/web-components", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/packages/web-components/scripts/type-check.js b/packages/web-components/scripts/type-check.js index 2a41506e7e06d..f214c9fa1a81c 100644 --- a/packages/web-components/scripts/type-check.js +++ b/packages/web-components/scripts/type-check.js @@ -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)); }