Open JosephYeoh opened 4 years ago
Installing it with npm install hubspot
gives me the same. I had to also npm install @types/request-promise
, but then I ran into this.
I'm also having the same exact problem, since with CRA the flag isolatedModules
must be true.
Did you find any workaround?
I think one of the issues is that this library uses *.ts
files for type declarations instead of *.d.ts
(just tried a local patch).
Same issue here.
@pcothenet is it possible to merge https://github.com/MadKudu/node-hubspot/pull/293?
My project uses Typescript and babel 7. When running
tsc
its throwing this error:I could turn off
isolatedModules
flag from mytsconfig.json
but according to the caveat section of babel 7, it is recommended to keep theisolatedModules
flag totrue
. Is there a workaround for this?Fairly new to asking quesitons, please let me know if i'm being unclear.