• Reads the tsconfig.json at the passed directory Only the directory is needed, but if a json path is specified, that will be read directly. By default the current directory is used.

    Parameters

    • Optionalpath: string = '.'

      the directory of a tsconfig.json or the direct filePath to a specific tsconfig.json. The default value is the current working directory.

    Returns Promise<TSConfig>

    import { tsconfig } from 'ember-apply';

    await read()
    await read('../path/elsewhere')
    await read('../path/elsewhere/tsconfig.tests.json')