From 21c788a10287214ff3f557005e608439e1318a59 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Date: Tue, 28 Jan 2020 11:55:23 -0800 Subject: [PATCH] Fix node's assert module resolution in tests Previously it incorrectly resolved to @types/assert, which is *almost* the same, but a port that necessarily lags a bit, and is compatible with the browser. --- types/node/tsconfig.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/types/node/tsconfig.json b/types/node/tsconfig.json index f5b245a474..0c3bdccb69 100644 --- a/types/node/tsconfig.json +++ b/types/node/tsconfig.json @@ -50,6 +50,9 @@ "typeRoots": [ "../" ], + "paths": { + "assert": ["node/assert.d.ts"] + }, "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true