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

Method constructor

packages/devtools/src/core.ts:50–57  ·  view source on GitHub ↗
(init: TanStackDevtoolsInit)

Source from the content-addressed store, hash-verified

48 #setPlugins?: (plugins: Array<TanStackDevtoolsPlugin>) => void
49
50 constructor(init: TanStackDevtoolsInit) {
51 this.#plugins = init.plugins || []
52 this.#eventBusConfig = init.eventBusConfig
53 this.#config = {
54 ...this.#config,
55 ...init.config,
56 }
57 }
58
59 mount<T extends HTMLElement>(el: T) {
60 if (typeof document === 'undefined') return

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected