Skip to content

Commit

Permalink
Fix type error (#91)
Browse files Browse the repository at this point in the history
TypeScript error in D:/Trabalhos/Spotogether/Web/node_modules/color-thief-react/lib/utils/getPredominantColorFromImgURL.d.ts(1,13):
'=' expected.  TS1005
  • Loading branch information
jonyw4 authored Nov 9, 2020
2 parents 903918f + e0241f6 commit ff097b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/getPredominantColorFromImgURL.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import ColorThief from 'colorthief/dist/color-thief.umd.js';
import { loadImage, formatRGB } from '.';
import type { ColorFormats, ArrayRGB } from '../types';
import { ColorFormats, ArrayRGB } from '../types';

export default async function getPredominantColorFromImgURL<
T extends ColorFormats
Expand Down

0 comments on commit ff097b9

Please sign in to comment.