Interface FileResourceOptions

interface FileResourceOptions {
    readOnly: boolean | MarkdownString;
    shouldOpenAsText: ((error) => Promise<boolean>);
    shouldOverwrite: (() => Promise<boolean>);
}

Properties

readOnly: boolean | MarkdownString
shouldOpenAsText: ((error) => Promise<boolean>)

Type declaration

    • (error): Promise<boolean>
    • Parameters

      • error: string

      Returns Promise<boolean>

shouldOverwrite: (() => Promise<boolean>)

Type declaration

    • (): Promise<boolean>
    • Returns Promise<boolean>