Remove unnecessary cast in UUID.prototype.toString

This commit is contained in:
Evan Hahn 2021-10-27 11:22:54 -05:00 committed by GitHub
parent 79b3b6408e
commit 30078ce3aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {