dialog icon indicating copy to clipboard operation
dialog copied to clipboard

typings.json does not define dependency versions

Open Mobe91 opened this issue 6 years ago • 2 comments

Current behavior: When installing typings using e.g. typings install --save github:aurelia/dialog#1.1.0, the typings tool uses the master version of dependencies defined in aurelia/dialog/typings.json because no versions are defined. This just broke my build unexpectedly because the typings in the dependency masters changed.

Expected/desired behavior: aurelia/dialog/typings.json should specify dependency versions.

Mobe91 avatar Jul 09 '19 09:07 Mobe91

@Mobe91 Are you seeing errors like the ones at the bottom of this issue?

https://github.com/aurelia/dependency-injection/issues/178

typings\modules\aurelia-dialog\index.d.ts(2577,1): error TS2668: 'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible.
typings\modules\aurelia-dialog\index.d.ts(2632,170): error TS2536: Type 'number' cannot be used to index type 'TArgs'.
typings\modules\aurelia-dialog\index.d.ts(2638,122): error TS2536: Type 'number' cannot be used to index type 'TArgs'.
typings\modules\aurelia-validation\index.d.ts(496,9): error TS2707: Generic type 'Lazy<TBase, TImpl, TArgs>' requires between 1 and 3
type arguments.

joelowrance avatar Jul 10 '19 11:07 joelowrance

@joelowrance exactly

Mobe91 avatar Jul 10 '19 14:07 Mobe91