It appears that the declaration file has:
time(value:number, suppressEvents?:boolean):any;
but should it rather be:
time(value?:number, suppressEvents?:boolean):any;
since it functions as a getter as well?
the web storm compiler throws an error in the first case, not in the second.