Map 'module' to 'ts_module', rename 'ts_pattern' to 'pattern'.