Ts-toolbelt: Clean/Ensure type instantiation is infinitely deep when using an index signature

Created on 3 Dec 2019  路  1Comment  路  Source: millsp/ts-toolbelt

馃悶 Bug Report

Describe the bug

Encountered when trying to use ramda merge(a: { [key: string]: string }, b).

Reproduce the bug

import { O } from 'ts-toolbelt';
const r: O.Ensure<{ [key: string]: string }> = { a: 'hey' };

Additional context

Happened in ts-toolbelt v4.12.11

bug

Most helpful comment

Hi @vogre, really sorry about this. The fix is out in a few minutes!

https://travis-ci.org/pirix-gh/ts-toolbelt/builds/620057580

So you can just reinstall ramda and the bug should be gone.

>All comments

Hi @vogre, really sorry about this. The fix is out in a few minutes!

https://travis-ci.org/pirix-gh/ts-toolbelt/builds/620057580

So you can just reinstall ramda and the bug should be gone.

Was this page helpful?
0 / 5 - 0 ratings