_getTSConfigFromDefaultLocations = (cwd) => {
  for (const tsFile of DEFAULT_TSCONFIG_LOCATIONS) {
    const absolutePath = _resolveTSConfigPath(cwd, tsFile)
    if (absolutePath !== undefined) {
      return absolutePath
    }
  }
  return undefined
}
@param {string} cwd
@returns {string | undefined}