From 868b7fa0e1aae75347a1744fc0f5f585da9cf2d5 Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Fri, 5 May 2017 16:42:32 -0700 Subject: [PATCH] Fix Ramda for Global 'R' Symbol (#16362) * Fix Ramda for Global 'R' Symbol **bug** The Ramda global `R` symbol is not defined. This means that Ramda must be used as module. This breaks intellisense for some JavaScript project setups in VSCode **fix** Declare a 'ramda' module. This preserves the global `R` symbol * Use export as instead --- types/ramda/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/ramda/index.d.ts b/types/ramda/index.d.ts index 20ad9529a9..7fde62feee 100644 --- a/types/ramda/index.d.ts +++ b/types/ramda/index.d.ts @@ -1808,3 +1808,4 @@ declare namespace R { } export = R; +export as namespace R;