docs/libs/typescript.js
function writeEmittedFiles(emitOutput, jsFilePath, sourceMapFilePath, writeByteOrderMark, sourceFiles) {
                if (compilerOptions.sourceMap && !compilerOptions.inlineSourceMap) {
                    ts.writeFile(host, emitterDiagnostics, sourceMapFilePath, sourceMap.getText(), /*writeByteOrderMark*/ false, sourceFiles);
                }
                if (sourceMapDataList) {
                    sourceMapDataList.push(sourceMap.getSourceMapData());
                }
                ts.writeFile(host, emitterDiagnostics, jsFilePath, emitOutput, writeByteOrderMark, sourceFiles);
            }
function writeEmittedFiles(emitOutput, jsFilePath, sourceMapFilePath, writeByteOrderMark, sourceFiles) {
                if (compilerOptions.sourceMap && !compilerOptions.inlineSourceMap) {
                    ts.writeFile(host, emitterDiagnostics, sourceMapFilePath, sourceMap.getText(), /*writeByteOrderMark*/ false, sourceFiles);
                }
                if (sourceMapDataList) {
                    sourceMapDataList.push(sourceMap.getSourceMapData());
                }
                ts.writeFile(host, emitterDiagnostics, jsFilePath, emitOutput, writeByteOrderMark, sourceFiles);
            }
function writeEmittedFiles ( emitOutput , jsFilePath , sourceMapFilePath , writeByteOrderMark , sourceFiles ) { if ( compilerOptions . sourceMap && ! compilerOptions . inlineSourceMap ) { ts . writeFile ( host , emitterDiagnostics , sourceMapFilePath , sourceMap . getText ( ) , /*writeByteOrderMark*/ false , sourceFiles ) ; } if ( sourceMapDataList ) { sourceMapDataList . push ( sourceMap . getSourceMapData ( ) ) ; } ts . writeFile ( host , emitterDiagnostics , jsFilePath , emitOutput , writeByteOrderMark , sourceFiles ) ; }
Write emitted output to disk
Write emitted output to disk