Skip to content

Commit b5452e7

Browse files
clydinalan-agius4
authored andcommitted
refactor(@angular/build): remove manual Node.js types for getCompileCacheDir
The manual type declaration is no longer needed with newer versions of the Node.js types (`@types/node`). (cherry picked from commit ff6b923)
1 parent 8ba6b0b commit b5452e7

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

packages/angular/build/src/typings.d.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,3 @@
1717
declare module 'esbuild' {
1818
export * from 'esbuild-wasm';
1919
}
20-
21-
/**
22-
* Augment the Node.js module builtin types to support the v22.8+ compile cache functions
23-
*/
24-
declare module 'node:module' {
25-
function getCompileCacheDir(): string | undefined;
26-
}

0 commit comments

Comments
 (0)