You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some images contain a colormap property of type string[] which contains a list of all colors present in the image. This property, when it exists, is inaccessible when using TypeScript without retyping the ExtractInfoResultImage to any.
Quick fix would be to add it as an optional property to the ExtractInfoResultImage interface in src/util/imageExtractInfoTypes.d.ts (shown here added at the bottom, is this doable?):
Some images contain a
colormap
property of typestring[]
which contains a list of all colors present in the image. This property, when it exists, is inaccessible when using TypeScript without retyping theExtractInfoResultImage
toany
.Quick fix would be to add it as an optional property to the
ExtractInfoResultImage
interface insrc/util/imageExtractInfoTypes.d.ts
(shown here added at the bottom, is this doable?):The text was updated successfully, but these errors were encountered: