Add existing to tracked

This commit is contained in:
Jay
2026-08-11 09:53:42 -04:00
parent afe07f3055
commit ffd6e3d73c
8531 changed files with 4396230 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import * as $protobuf from "..";
import { IProtoJsonOptions } from "./protojson.generated";
export * from "./protojson.generated";
declare module ".." {
interface Type {
/** Installed by `protojson.install()`. Parses an already-parsed ProtoJSON value. */
fromJson(json: any, options?: IProtoJsonOptions): $protobuf.Message<{}>;
/** Installed by `protojson.install()`. Parses ProtoJSON text. */
fromJsonString(json: string, options?: IProtoJsonOptions): $protobuf.Message<{}>;
/** Installed by `protojson.install()`. Formats a message as ProtoJSON. */
toJson(message: ($protobuf.Message<{}>|{ [k: string]: any }), options?: IProtoJsonOptions): any;
/** Installed by `protojson.install()`. Formats a message as ProtoJSON text. */
toJsonString(message: ($protobuf.Message<{}>|{ [k: string]: any }), options?: IProtoJsonOptions): string;
}
}