Skip to content

ramda broken by #33228, "less aggressive contextual signature instantiation" #33560

@sandersn

Description

@sandersn
  1. clone dt
  2. cd ~/dt/types/ramda
  3. in ramda-tests.ts, look for (or add) the following code:
const x: number = R.thunkify(R.identity)(42)();

Expected behavior:
No error?

Actual behavior:
Error, 'unknown' is not assignable to 'number'.

Reverting #33228 fixes the error.

Metadata

Metadata

Assignees

Labels

Working as IntendedThe behavior described is the intended behavior; this is not a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions