Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 17892

Visual Studio Code cannot find VisualUpdateOptions

$
0
0

Hello,

 

I'm currently trying to learn how I can create custom visuals and PowerBI.

 

This is the guide I'm following. I'm stuck at the "Adding Databinding to Bar Chart" part. Specifically where I have to create the visualTransform function. 

 

When I write the method head, Visual Studio Code underlines "VisualUpdateOptions" and "IVisualHost" red, saying it can't find those. 

Error.PNG

 

I have copied the dependencies from the package.json on github into the package.json of my project and installed them. I also added all the dependencies into the pbiviz.json and tsconfig.json.

 

When I download the project from github and run it it works, without being underlined.

 

What am I missing?


Viewing all articles
Browse latest Browse all 17892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>