Datalayer VS Code Extension - v0.0.9
    Preparing search index...

    Variable vsCodeAPIConst

    vsCodeAPI: {
        getState: () => unknown;
        postMessage: (message: unknown) => void;
        setState: (state: unknown) => void;
    } = vscode

    VS Code API singleton instance. Use this to access postMessage, getState, and setState methods.

    Type Declaration

    • getState: () => unknown

      Get the persisted state for this webview

    • postMessage: (message: unknown) => void

      Post a message to the VS Code extension host

    • setState: (state: unknown) => void

      Set the persisted state for this webview