Invalid usage of PlatformEntry interface
sjaenick opened this issue · comments
https://github.com/rabix/composer/blob/master/src/app/auth/model/auth-credentials.ts#L16
uses a devTokenURL
in two locations which is not part of the PlatformEntry
interface.
ERROR in src/app/auth/model/auth-credentials.ts(30,13): error TS2322: Type '{ "https://api.sbgenomics.com": { "name": string; "shortName": string; "platformURL": string; }; ...' is not assignable to type '{ [key: string]: PlatformEntry; }'.
Property '"https://api.sb.biodatacatalyst.nhlbi.nih.gov"' is incompatible with index signature.
Type '{ "name": string; "shortName": string; "devTokenURL": string; }' is not assignable to type 'PlatformEntry'.
Object literal may only specify known properties, and '"devTokenURL"' does not exist in type 'PlatformEntry'.
I ran into this same error while running "yarn run build" on a Windows 10 machine.