rename src/type.(ts|js) to src/types.(ts|js)