Use module for typescript