demo-protobuf: Rename UInt64 -> Uint64

This commit is contained in:
willclarktech 2020-06-23 12:01:44 +02:00
parent 4bd773eb10
commit 56b1ffb943
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7
3 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ describe("decorator demo", () => {
@CosmosField.Int64(4)
public readonly int64Demo?: number;
@CosmosField.UInt64(5)
@CosmosField.Uint64(5)
public readonly uint64Demo?: number;
@CosmosField.RepeatedString(6)

View File

@ -22,7 +22,7 @@ export const CosmosField = {
Bytes: (id: number) => Field.d<Uint8Array>(id, "bytes"),
Int64: (id: number) => Field.d<number>(id, "int64"),
UInt64: (id: number) => Field.d<number>(id, "uint64"),
Uint64: (id: number) => Field.d<number>(id, "uint64"),
RepeatedString: (id: number) => Field.d<string[]>(id, "string", "repeated"),
Nested: (id: number, ctor: Constructor<Message<{}>>) => Field.d(id, ctor),

View File

@ -6,7 +6,7 @@ export declare const CosmosField: {
String: (id: number) => import("protobufjs").FieldDecorator;
Bytes: (id: number) => import("protobufjs").FieldDecorator;
Int64: (id: number) => import("protobufjs").FieldDecorator;
UInt64: (id: number) => import("protobufjs").FieldDecorator;
Uint64: (id: number) => import("protobufjs").FieldDecorator;
RepeatedString: (id: number) => import("protobufjs").FieldDecorator;
Nested: (id: number, ctor: Constructor<Message<{}>>) => import("protobufjs").FieldDecorator;
};