@servicenow/sdk - v4.4.1
    Preparing search index...

    Options for creating a project.

    interface ProjectOptions {
        compilerOptions?: tsc.CompilerOptions;
        defaultCompilerOptions?: tsc.CompilerOptions;
        fileSystem?: FileSystemHost;
        libFolderPath?: string;
        manipulationSettings?: Partial<ManipulationSettings>;
        resolutionHost?: ResolutionHostFactory;
        skipAddingFilesFromTsConfig?: boolean;
        skipFileDependencyResolution?: boolean;
        skipLoadingLibFiles?: boolean;
        tsConfigFilePath?: string;
        useInMemoryFileSystem?: boolean;
    }
    Index

    Properties

    compilerOptions?: tsc.CompilerOptions

    Compiler options

    defaultCompilerOptions?: tsc.CompilerOptions

    Can be overriden by tsConfigFilePath or compilerOptions.

    fileSystem?: FileSystemHost

    Optional file system host. Useful for mocking access to the file system.

    Consider using useInMemoryFileSystem instead.

    libFolderPath?: string

    The folder to use for loading lib files.

    manipulationSettings?: Partial<ManipulationSettings>

    Manipulation settings

    resolutionHost?: ResolutionHostFactory

    Creates a resolution host for specifying custom module and/or type reference directive resolution.

    skipAddingFilesFromTsConfig?: boolean

    Whether to skip adding the source files from the specified tsconfig.json.

    false
    
    skipFileDependencyResolution?: boolean

    Skip resolving file dependencies when providing a ts config file path and adding the files from tsconfig.

    false
    
    skipLoadingLibFiles?: boolean

    Skip loading the lib files. Unlike the compiler API, ts-morph does not load these from the node_modules folder, but instead loads them from some other JS code and uses a fake path for their existence. If you want to use a custom lib files folder path, then provide one using the libFolderPath options.

    false
    
    tsConfigFilePath?: string

    File path to the tsconfig.json file.

    useInMemoryFileSystem?: boolean

    Whether to use an in-memory file system.

    false