MCPcopy Create free account
hub / github.com/TanStack/devtools / isPanelClassConstructor

Function isPanelClassConstructor

packages/devtools-utils/src/angular/panel.ts:21–26  ·  view source on GitHub ↗
(o: any)

Source from the content-addressed store, hash-verified

19> = new (props: TComponentProps) => TCoreDevtoolsClass
20
21function isPanelClassConstructor<
22 TComponentProps extends DevtoolsPanelProps,
23 TCoreDevtoolsClass extends BaseCorePanelClass,
24>(o: any): o is CoreClassConstructor<TComponentProps, TCoreDevtoolsClass> {
25 return !!o.prototype
26}
27
28export function createAngularPanel<
29 TComponentProps extends DevtoolsPanelProps,

Callers 1

createAngularPanelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected