You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gristlabs_grist-core/app/plugin/WidgetAPI-ti.ts

21 lines
621 B

/**
* This module was automatically generated by `ts-interface-builder`
*/
import * as t from "ts-interface-checker";
// tslint:disable:object-literal-key-quotes
export const WidgetAPI = t.iface([], {
"getOptions": t.func(t.union("object", "null")),
"setOptions": t.func("void", t.param("options", t.iface([], {
[t.indexKey]: "any",
}))),
"clearOptions": t.func("void"),
"setOption": t.func("void", t.param("key", "string"), t.param("value", "any")),
"getOption": t.func("any", t.param("key", "string")),
});
const exportedTypeSuite: t.ITypeSuite = {
WidgetAPI,
};
export default exportedTypeSuite;