From 0412ac8bf30bcf73be9548311396ecc3263f44f7 Mon Sep 17 00:00:00 2001 From: Jacob Smith <3012099+JakobJingleheimer@users.noreply.github.com> Date: Thu, 3 Oct 2024 04:08:45 +0200 Subject: [PATCH] module: add internal type def for `flushCompileCache` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/55226 Reviewed-By: Yagiz Nizipli Reviewed-By: Vinícius Lourenço Claro Cardoso --- typings/internalBinding/modules.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/typings/internalBinding/modules.d.ts b/typings/internalBinding/modules.d.ts index b9aa518abde..8142874edfd 100644 --- a/typings/internalBinding/modules.d.ts +++ b/typings/internalBinding/modules.d.ts @@ -23,4 +23,5 @@ export interface ModulesBinding { getNearestParentPackageJSONType(path: string): PackageConfig['type'] getPackageScopeConfig(path: string): SerializedPackageConfig | undefined getPackageJSONScripts(): string | undefined + flushCompileCache(keepDeserializedCache?: boolean): void }