Skip to content

BasesPluginInstance.createNewBasesFile method

BasesPluginInstance › createNewBasesFile

Unofficial

Creates a new bases file.

Signature:

createNewBasesFile(location?: TFolder | undefined, filename?: string | undefined, contents?: string | undefined): Promise<TFile>

Parameters:

Parameter Type Description
location? TFolder | undefined Optional folder location for the new file.
filename? string | undefined Optional filename for the new file.
contents? string | undefined Optional initial contents.

Returns: Promise<TFile>The created file.