mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Do not use lazy requires where not needed.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import definition = require("trace");
|
||||
import * as typesModule from "utils/types";
|
||||
import * as types from "utils/types";
|
||||
|
||||
var _enabled = false;
|
||||
var _categories = {};
|
||||
@@ -137,8 +137,6 @@ class ConsoleWriter implements definition.TraceWriter {
|
||||
return;
|
||||
}
|
||||
|
||||
var types: typeof typesModule = require("utils/types");
|
||||
|
||||
var msgType;
|
||||
if (types.isUndefined(type)) {
|
||||
msgType = messageType.log;
|
||||
|
||||
Reference in New Issue
Block a user