Skip to content

clearDraft beta ​

Function of @v12-engine/client

ts
export declare function clearDraft(game: string, key: string, storage?: KeptStorage): Promise<void>;

Forgets the draft of a map of a game (Draft.key): the map was saved, or the draft was turned down