monaco-definition-provider - v2.0.0
    Preparing search index...

    Interface PythonOptions

    interface PythonOptions {
        grammarWasm?: string | Uint8Array<ArrayBufferLike>;
        locateFile?: (fileName: string, scriptDirectory: string) => string;
    }
    Index

    Properties

    grammarWasm?: string | Uint8Array<ArrayBufferLike>

    URL/path to tree-sitter-python.wasm, or the wasm bytes directly. Defaults to the copy shipped next to the built library.

    locateFile?: (fileName: string, scriptDirectory: string) => string

    Emscripten locateFile for web-tree-sitter's core runtime wasm.