Hey guys,
I'm currently facing an issue when trying to use @revenuecat/purchases-js in my angular/capacitor project.
I'm getting this error:
X [ERROR] TS2307: Cannot find module '@revenuecat/purchases-ui-js' or its corresponding type declarations. [plugin angular-compiler]
node_modules/@revenuecat/purchases-js/dist/Purchases.es.d.ts:2:25:
2 │ import { UIConfig } from '@revenuecat/purchases-ui-js';
╵ ~~~~~~~~~~
Going through the file I can see there are two unused imports:
import { PaywallData } from '@revenuecat/purchases-ui-js';
import { UIConfig } from '@revenuecat/purchases-ui-js';
For now, I'm thinking to download the project remove the imports and recompile the library locally. Do you have any other suggestions instead of this one?
Thanks.
Hey guys,
I'm currently facing an issue when trying to use @revenuecat/purchases-js in my angular/capacitor project.
I'm getting this error:
Going through the file I can see there are two unused imports:
For now, I'm thinking to download the project remove the imports and recompile the library locally. Do you have any other suggestions instead of this one?
Thanks.