Forum Discussion
Typescript Error Developing Your First PowerBI Visual
- 9 years ago
I can run the project Sample Bar Chart. According to the error message, you need to specify related .ts file in tsconfig.json by using the "files" property.
I can run the project Sample Bar Chart. According to the error message, you need to specify related .ts file in tsconfig.json by using the "files" property.
How do you specify related .ts file in tsconfig.json by using the "files" property?
This is the only error I have but I don't have that /visualPlugin.ts anywhere
TYPESCRIPT /visualPlugin.ts : (8,147) Property 'Visual' does not exist on type 'typeof demo49B92E39CFB047F59CF0F0DEF084AE31'.
- v-viig8 years ago
Community Champion
visualPlugin.ts is auto-generated file. You can take a look at this file in ".tmp/precompile".
Could you please clarify a name of class that implements IVisual interface?
Please note that the same class name must be specified in visualClassName property of pbiviz.json.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals