Skip to content
This repository has been archived by the owner on Feb 20, 2020. It is now read-only.

Should move the last-overload's selectable-overload to first #80

Closed
ikatyang opened this issue Nov 9, 2017 · 0 comments
Closed

Should move the last-overload's selectable-overload to first #80

ikatyang opened this issue Nov 9, 2017 · 0 comments
Labels

Comments

@ikatyang
Copy link
Owner

ikatyang commented Nov 9, 2017

Context: typed-typings/npm-ramda#311 (comment)

before

generated_types_with_selectable_overloads() //=> match the first overload in the source

after

generated_types_with_selectable_overloads() //=> match the last overload in the source

NOTE: the last overload in the source is considered the most general case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant