Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Invalid module name in augmentation -- error while using map option for RxJs

I have been receiving the error shown in the attached picture in map.d.ts (first image). Due to this I am not getting a full intellisense as shown in the second image.

I really appreciate any help resolving this issue.

error1 erro2

like image 240
Mayur Avatar asked Jul 20 '16 13:07

Mayur


1 Answers

In your file .d.ts, just move all the import into the declare module "moduleName" {}.

like image 120
Paleo Avatar answered Sep 19 '22 11:09

Paleo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!