Require Vs Import Typescript