Why is the code below saying Type \'string\' is not assignable to type \'never\' ?
Type \'string\' is not assignable to type \'never\'
However, the compiled javascript works perfectly fine
expor