I have an item that looks like this:
let options = {title: "", buttons: undefined}
However, I would like to include a function, such as the following:
options.open() {...}
TypeScript is giving an error message: property does not exist on the options type.
How do I add the function to the options object?