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

    Result of an emit to memory.

    Hierarchy (View Summary)

    Index

    Accessors

    • get compilerObject(): tsc.EmitResult

      TypeScript compiler emit result.

      Returns tsc.EmitResult

    Methods

    • Contains declaration emit diagnostics.

      If the noEmitOnError compiler option is true, this will also include the program's semantic, syntactic, global, options, and if enabled declaration diagnostics.

      Returns Diagnostic<tsc.Diagnostic>[]

      If you are looking for non-declaration emit diagnostics, then call Project#getPreEmitDiagnostics() or get specific diagnostics available from the program.

    • If the emit was skipped.

      Returns boolean

    • Asynchronously writes the files to the file system.

      Returns Promise<void[]>

    • Synchronously writes the files to the file system.

      Returns void

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