top | item 45704914

(no title)

kerneloops | 4 months ago

Another one:

  const cast: <A, B> (a: A) => B = function <B> (): B {
    return arguments[0]
  }
  const n: string = cast(1)

discuss

order

No comments yet.