You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
good interence:
cosnt fn = (a, b) => a + b;
const res = fn(1, 2) //type is number
bad inference:
const fn = (a) => a.a + a.b;
const res = fn({a: 1, b: 2}) // type is number | string | bigint, but it can be just a number
The text was updated successfully, but these errors were encountered: