Closed
Description
The below statement does not work as it wants the left side of the instanceof statement to be of type any, which kind of defeats the purpose as once you do that TS will not longer use typegaurds, or am I missing something
constructor(template: string|templateMap){
if (template instanceof templateMap) {
con = super.getPaneContainer(template.selector);
} else {
con = super.getPaneContainer('.ui-layout-center');
}
}