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

    Wrapper around Program.

    Index

    Accessors

    • get compilerObject(): tsc.Program

      Gets the underlying compiler program.

      Returns tsc.Program

    Methods

    • Asynchronously emits the TypeScript files as JavaScript files.

      Parameters

      Returns Promise<EmitResult>

    • Synchronously emits the TypeScript files as JavaScript files.

      Parameters

      Returns EmitResult

      Use emit() as the asynchronous version will be much faster.

    • Emits the TypeScript files to JavaScript files to memory.

      Parameters

      Returns MemoryEmitResult

    • Gets the diagnostics found when parsing the tsconfig.json file.

      Returns Diagnostic<tsc.Diagnostic>[]

    • Get the program's type checker.

      Returns TypeChecker

    • Gets if the provided source file was discovered while loading an external library.

      Parameters

      Returns boolean