RSX Code Reference
    Preparing search index...
    • rsx
    • Editor
    • TypeScriptModuleCompilationResult

    Class TypeScriptModuleCompilationResult

    A structure that represents the return type of a TypeScript module compilation.

    Index
    • get compilationEndDate(): number

      Specifies the time point at which the compilation finished. In milliseconds since the UNIX Epoch.

      Returns number

    • get compilationStartDate(): number

      Specifies the time point at which the compilation started. In milliseconds since the UNIX Epoch.

      Returns number

    • get compilationTimeInMilliseconds(): number

      Specifies the number of milliseconds it took to compile the whole module.

      Returns number

    • get definitionContents(): string

      Contains the TypeScript definitions for the compiled module. Can be empty if definition emission is not enabled.

      Returns string

    • get diagnosticMessages(): string

      A string that contains any diagnostic returned by the compiler. Will include warnings and errors.

      Returns string

    • get isDomainReloadQueued(): boolean

      Specifies whether a domain reload was queued as a result of this compilation.

      Returns boolean

    • get isSuccessful(): boolean

      Determines if the compilation was successful.

      Returns boolean

    • get moduleContents(): string

      Contains the compiled JavaScript code, as returned by the compiler.

      Returns string

    • get operationError(): string

      If the string is set, it indicates that the compilation has failed.

      Returns string

    • get sourceMapContents(): string

      Contains the JavaScript source map, as returned by the compiler. This can be empty if inline source maps are enabled.

      Returns string