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

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -