MCPcopy Create free account
hub / github.com/TanStack/table / mergeOptions

Function mergeOptions

packages/vue-table/src/index.ts:63–73  ·  view source on GitHub ↗
(
        defaultOptions: TableOptions<TData>,
        options: TableOptions<TData>,
      )

Source from the content-addressed store, hash-verified

61 onStateChange: () => {}, // noop
62 renderFallbackValue: null,
63 mergeOptions(
64 defaultOptions: TableOptions<TData>,
65 options: TableOptions<TData>,
66 ) {
67 return IS_REACTIVE
68 ? {
69 ...defaultOptions,
70 ...options,
71 }
72 : mergeProxy(defaultOptions, options)
73 },
74 },
75 IS_REACTIVE ? getOptionsWithReactiveData(initialOptions) : initialOptions,
76 )

Callers

nothing calls this directly

Calls 1

mergeProxyFunction · 0.90

Tested by

no test coverage detected