Skip to content

Commit d9323bc

Browse files
committed
Fix another type error
1 parent bcf6442 commit d9323bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/api/OpenProcessing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export const thumbnailDimensions = 400;
137137
export function isCurationResponse<C extends keyof AnyEntryMap>(
138138
item: OpenProcessingCurationResponse[number] | CollectionEntry<C>,
139139
): item is OpenProcessingCurationResponse[number] {
140-
return "visualID" in item;
140+
return "visualID" in (item as any);
141141
}
142142

143143
export const getRandomCurationSketches = memoize(async (num = 4) => {

0 commit comments

Comments
 (0)