typescript-closure-tools
Version:
Command-line tools to convert closure-style JSDoc annotations to typescript, and to convert typescript sources to closure externs files
32 lines (26 loc) • 1.04 kB
TypeScript
/// <reference path="../../../globals.d.ts" />
/// <reference path="./lazydeserializer.d.ts" />
declare module goog.proto2 {
class PbLiteSerializer extends PbLiteSerializer__Class { }
/** Fake class which should be extended to avoid inheriting static properties */
class PbLiteSerializer__Class extends goog.proto2.LazyDeserializer__Class {
/**
* PB-Lite serializer.
*
* @constructor
* @extends {goog.proto2.LazyDeserializer}
*/
constructor();
/**
* By default, the proto tag with id 1 will have index 1 in the serialized
* array.
*
* If the serializer is set to use zero-indexing, the tag with id 1 will have
* index 0.
*
* @param {boolean} zeroIndexing Whether this serializer should deal with
* 0-indexed protos.
*/
setZeroIndexed(zeroIndexing: boolean): void;
}
}