eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee / eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
http://e.ee
10.19k stars 702 forks source link

Create e.ts #585

Open GinoRamirexNubox opened 5 years ago

GinoRamirexNubox commented 5 years ago

hi!

Enitoni commented 5 years ago

so before this went down, I made this pull request

const E = 50;

type E = "e";
type EEE<E> = E;

const EEEE = Array;

const e = <EE extends E>(e: EE): EEE<EE> => {
  return e;
};

const ee = new EEEE(E).fill("e" as E);

for (const eee of ee) {
  const eeee = e(eee);
  console.log(eeee);
}