Forum Discussion

jijods4's avatar
jijods4
Frequent Visitor
7 years ago

Adding a static js script to a custom visualization that don't have a type file

I am trying to add external js `@dashboardcode/bsmultiselect` in the custom visual that can be like this and I could not find a type file for this. will it work ?

 

1 Reply

  • v-evelk's avatar
    v-evelk
    Microsoft Employee

    Hi,

     

    It looks like you try to import some data types for typescript.

    I suppose you need a custom visual that is built by webpack.

    Please read this article, I hope that it will help to solve your question.

     

    Kind Regards,

     

    Evgenii Elkin,
    Software Engineer
    Microsoft Power BI Custom Visuals
    [email protected]