Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
magtuto
Helper I
Helper I

Typescript Error Developing Your First PowerBI Visual

Im new to Power BI and I have started doing the tutorials on Github called "Developing Your First Power BI Visual".

 

I am just stuck on one issue at the moment, I have managed to fix some of the typescript errors  related to d3-typings by following the installation instructions on Github. 

 

However, I am still getting errors (see below) and I am not sure what to do next. Is this related to other external library that I am missing.

 

typescripterror.PNG

 

Eric

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@magtuto,

 

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.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@magtuto,

 

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.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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'.

 

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

pbicvsupport@microsoft.com

 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.