Fix TypeScript module declaration