Croppr.js icon indicating copy to clipboard operation
Croppr.js copied to clipboard

typings cause compiler errors

Open agnauck opened this issue 5 years ago • 1 comments

when I compile my code without the skipLibCheck option I get the following error:

66:5 Property '2' of type '"px" | "%" | undefined' is not assignable to numeric index type 'string | number'.
    64 |     0: number,
    65 |     1: number,
  > 66 |     2?: 'px' | '%'
       |     ^
    67 |   }
    68 | 
    69 | }

agnauck avatar Mar 25 '20 18:03 agnauck

Yes, I get this error also with Typescript 3.8.3

Evertvdw avatar Jun 12 '20 11:06 Evertvdw