UNPKG

@tabnine/jupyterlab

Version:

JupyterLab client for Tabnine

12 lines (8 loc) 332 B
import postBinary from "./postBinary"; export type ServiceLevel = "Free" | "Pro" | "Trial" | "Trial Expired" | "Lite"; export type StateResult = { service_level: ServiceLevel; }; export default async function postState(): Promise<StateResult> { return postBinary<{ State: Record<any, never> }, StateResult>({ State: {} }); }