ember-apply
    Preparing search index...

    Function modify

    • Enables modification of any part of the project's tsconfig.json file.

      Parameters

      • callback: (json: Record<string, any>) => void | Promise<void>
      • 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<void>

      import { tsconfig } from 'ember-apply';

      await tsconfig.modify(tsconfig => {
      tsconfig.compilerOptions ||= {};
      tsconfig.compilerOptions.isolatedModules = true;
      });