I downloaded 5.5.0 the other day as I attempt to convert my angular 4 app to angular 5.
When trying to set up components, the typescript compiler in VS 2017 throws an error that some properties are not defined.
let settings: jqwidgets.TreeOptions = {
width: ‘100%’,
height: ‘100%’,
theme: ‘custom’,
source: this.data,
};
This will throw an error because the theme property in jqwidgets.d.ts is undefined. If I change it to “theme?: string” the error goes away. About 1/2 of all the properties in the file are undefined. This is different from previous versions. Is this by design?
Thanks. Matt