Created
July 8, 2019 05:14
-
-
Save alexzuza/3dc77a41fa64b32fc45afc7d89a25af0 to your computer and use it in GitHub Desktop.
t6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { TypeCheckFile } = require('./node_modules/@angular/compiler-cli/src/ngtsc/typecheck/src/type_check_file.js'); | |
const old = TypeCheckFile.prototype.render; | |
TypeCheckFile.prototype.render = function() { | |
const result = old.apply(this, arguments); | |
console.log(result.text); | |
return result; | |
}; | |
require('./node_modules/@angular/cli/bin/ng'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment