Type '(options: VisualConstructorOptions) => Visual' is not assignable to type '(options?: VisualConstructorOptions | undefined) => IVisual'.
Types of parameters 'options' and 'options' are incompatible.
Type 'VisualConstructorOptions | undefined' is not assignable to type 'VisualConstructorOptions'.
Type 'undefined' is not assignable to type 'VisualConstructorOptions'.ts(2322)
visuals-api.d.ts(167, 9): The expected type comes from property 'create' which is declared here on type 'IVisualPlugin'
I'm runing pbiviz package and getting this error:
I think is related with plugin-template.js from powerbi-visuals-webpack-plugin, also you have a pull request https://github.com/microsoft/powerbi-visuals-webpack-plugin/pull/74
Can you fix it?
What can I do to package my project?