Typescript Last Character Javascript Editor