Settings namespace
import { Settings } from '@withfig/api-bindings'
get
Declaration
export async function get(key: string): Promise<GetSettingsPropertyResponse>;
set
Declaration
export async function set(key: string, value: any): Promise<void>;
remove
Declaration
export async function remove(key: string): Promise<void>;
current
Declaration
export async function current(): Promise<any>;
didChange
Declaration
export const didChange = {
subscribe(
handler: (notification: SettingsChangedNotification) => boolean | undefined
): Promise<Subscription>;
};