diff --git a/build-tests/rush-lib-declaration-paths-test/config/heft.json b/build-tests/rush-lib-declaration-paths-test/config/heft.json index d3967bd0396..857ca850bcb 100644 --- a/build-tests/rush-lib-declaration-paths-test/config/heft.json +++ b/build-tests/rush-lib-declaration-paths-test/config/heft.json @@ -18,24 +18,8 @@ } }, - "copy-src-typings": { - "taskPlugin": { - "pluginPackage": "@rushstack/heft", - "pluginName": "copy-files-plugin", - "options": { - "copyOperations": [ - { - "sourcePath": "node_modules/@microsoft/rush-lib/src", - "destinationFolders": ["src"], - "includeGlobs": ["npm-check-typings.d.ts"] - } - ] - } - } - }, - "typescript": { - "taskDependencies": ["create-src", "copy-src-typings"] + "taskDependencies": ["create-src"] } } } diff --git a/build-tests/rush-lib-declaration-paths-test/scripts/createSrc.js b/build-tests/rush-lib-declaration-paths-test/scripts/createSrc.js index cf8107f2da0..01bcec568b9 100644 --- a/build-tests/rush-lib-declaration-paths-test/scripts/createSrc.js +++ b/build-tests/rush-lib-declaration-paths-test/scripts/createSrc.js @@ -26,7 +26,7 @@ module.exports = { } } - const indexFileLines = ['/// ', '']; + const indexFileLines = []; for await (const dtsPath of collectDtsPaths(`${rushLibPath}/lib`, '@microsoft/rush-lib/lib')) { indexFileLines.push(`import '${dtsPath}';`); }