function isFileTS(filePath) {
	const fileExtension = path.extname(filePath);

	return /^\.[mc]?ts$/u.test(fileExtension);
}
Check if the file is a TypeScript file.
@param {string} filePath The file path to check.
@returns {boolean} `true` if the file is a TypeScript file, `false` if it's not.