typescript1.9 - Typescript error TS1005 from tinycolor declaration -
i'm converting small project typescript 1.9 try learn language. have been using library called tinycolor, , downloaded declaration file it.
the file can viewed here: https://github.com/definitelytyped/definitelytyped/blob/master/tinycolor/tinycolor.d.ts
i getting errors
c:\users\kbirger\documents\projects\peysage\ts\typings\tinycolor\tinycolor.d.ts(339,9): error ts1005: ';' expected.
the relevant line of code here:
declare namespace readable { interface readable { brightness: number; color: number; } }
i'm not sure issue is. looks correct syntax me, , what's more, no complaints when run thing through playground on typescript site.
can shed light?
Comments
Post a Comment