You can use any[]
to accomplish this in your interface.
declare var enyo: {
kind(settings: {
name: string;
components: any[];
});
};
// The following will now compile without errors
enyo.kind({
name: "HelloWidget",
components: [
{ name: "hello", content: "Hello From Enyo" },
{ kind: "Button", content: "Click Me!", ontap: "helloTap" }
]
});