Michael Liu

Results 2 comments of Michael Liu

As suggested in #150, adding an explicit type argument resolves the problem: return update(widget, spec); // no more TS2589 Does anyone know why recent versions of TypeScript can no longer...

immutability-helper/index.d.ts declares `update` as follows: declare const _default: (object: T, $spec: Spec) => T; export default _default; If I call `update` with arguments of type `Widget` and `Spec`, I don't...