Typescript port works