mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-20 21:12:38 +08:00
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
This commit is contained in:
committed by
Mohamed Hegazy
parent
1d19461b6e
commit
868b7fa0e1
1
types/ramda/index.d.ts
vendored
1
types/ramda/index.d.ts
vendored
@@ -1808,3 +1808,4 @@ declare namespace R {
|
||||
}
|
||||
|
||||
export = R;
|
||||
export as namespace R;
|
||||
|
||||
Reference in New Issue
Block a user