- TS file with single exported function
File name format:
lowerCamelCase.ts(the same as funciton name)
calculateSum.ts
export const calculateSum = (numbers: number[]): number =>
numbers.reduce((acc, next) => acc + next, 0);- TS file with bunch of functions exported as a module