chore: remove unneeded console registration

This commit is contained in:
vakrilov
2019-07-11 12:43:09 +03:00
parent 0ee0b67249
commit 9b7c7c0d20

View File

@ -6,10 +6,3 @@ import "./polyfills/xhr";
import "./polyfills/fetch";
import "./decorators";
// This is probably not needed any more
if ((<any>global).__snapshot || (<any>global).__snapshotEnabled) {
// Object.assign call will fire an error when trying to write to a read-only property of an object, such as 'console'
const consoleModule = require("console").Console;
global.console = global.console || new consoleModule();
}