package js.html;
/**
This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink.
**/
typedef WritableStreamDefaultWriter = {
final closed : js.lib.Promise;
final desiredSize : Null;
final ready : js.lib.Promise;
function abort(?reason:Dynamic):js.lib.Promise;
function close():js.lib.Promise;
function releaseLock():Void;
function write(chunk:W):js.lib.Promise;
};