Forum Discussion
d_u_a
8 years agoHelper I
Custom Visual After pbiviz package Giving Error
1)I 'm creating pbiviz package then importing it to app.powerbi.com in first time it's not giving any error but second or third trying to generate package it's giving these errors - ( I am using the ...
- 8 years ago
Thank you Ignat Vilesov for your help,
For other people who takes same error :
Ignat's solution : rename namespace to module in settings.ts and visual.ts.
TypeScript namespaces are not supported yet. Please always use modules instead.
v-viig
8 years agoCommunity Champion
- Did you add settings.ts into tsconfig.json? How did you declare Settings class?
- Yes, you should use PascalCase in TypeScript as per name convention.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
d_u_a
8 years agoHelper I
This is my tsconfig.json file and setting.ts is already declared in it .