Skip to content

getBasesContextConstructor

Unofficial

Get the BasesContext constructor.

Import:

import { getBasesContextConstructor } from '@obsidian-typings/obsidian-catalyst-latest/implementations';

Signature:

function getBasesContextConstructor(app: App): ConstructorBase<[app: App, filter: Record<string, BasesFilter>, formulas: Record<string, BasesFormula>, file: TFile | null], BasesContext>

Parameters:

ParameterTypeDescription
appAppThe app instance.

Returns: ConstructorBase<[app: App, filter: Record<string, BasesFilter>, formulas: Record<string, BasesFormula>, file: TFile | null], BasesContext> — The BasesContext constructor.