mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-06-22 04:11:55 +10:00
fix(web): type resume conflict detection
This commit is contained in:
@@ -93,7 +93,7 @@ function isAbortError(error: unknown): error is DOMException {
|
||||
return error instanceof DOMException && error.name === "AbortError";
|
||||
}
|
||||
|
||||
function isResumeVersionConflict(error: unknown): error is ORPCError {
|
||||
function isResumeVersionConflict(error: unknown): boolean {
|
||||
return error instanceof ORPCError && error.code === "RESUME_VERSION_CONFLICT";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user