From 5d72d52865b401cdfbb3410f2f01ac4d15ed05ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerhard=20St=C3=B6bich?= <18708370+Flarna@users.noreply.github.com> Date: Wed, 15 Jan 2020 08:56:39 +0100 Subject: [PATCH] node: allow to augment class Module (#41571) Add empty namespace Module to allow to augment static side of class Module. --- types/node/module.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/node/module.d.ts b/types/node/module.d.ts index a9d7baa2e4..4fbfbbb459 100644 --- a/types/node/module.d.ts +++ b/types/node/module.d.ts @@ -1,5 +1,6 @@ declare module "module" { import { URL } from "url"; + namespace Module {} interface Module extends NodeModule {} class Module { static runMain(): void;