Skip to content

Instantly share code, notes, and snippets.

@alexzuza
Created July 8, 2019 05:14
Show Gist options
  • Save alexzuza/3dc77a41fa64b32fc45afc7d89a25af0 to your computer and use it in GitHub Desktop.
Save alexzuza/3dc77a41fa64b32fc45afc7d89a25af0 to your computer and use it in GitHub Desktop.
t6
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