Typescript Does Not Exist On Type