Export ts to CommonJS