Skip to content

Commit

Permalink
Remove unnecessary cast in UUID.prototype.toString
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHahn-Signal committed Oct 27, 2021
1 parent 79b3b64 commit 30078ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/types/UUID.ts
Expand Up @@ -19,7 +19,7 @@ export class UUID {
}

public toString(): UUIDStringType {
return (this.value as unknown) as UUIDStringType;
return this.value as UUIDStringType;
}

public isEqual(other: UUID): boolean {
Expand Down

0 comments on commit 30078ce

Please sign in to comment.