Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rideg committed Nov 6, 2022
1 parent a4cc81a commit b511bbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/protobuf/src/message-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export interface MessageType<T extends Message<T> = AnyMessage> {
fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): T;

/**
* Returns true if value conforms this type.
* Returns true if the given value conforms this type.
*/
conforms(value: unknown): value is T;

Expand Down
2 changes: 1 addition & 1 deletion packages/protobuf/src/private/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export interface Util {
): boolean;

/**
* Checks if the given value conformst the given type.
* Checks if the given value conforms the given type.
*/
conforms<T extends Message<T>>(
type: MessageType<T>,
Expand Down

0 comments on commit b511bbe

Please sign in to comment.