mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fixing type errors in tests
This commit is contained in:
@@ -696,7 +696,7 @@ Sometimes we need to explicitly check for a type. In such cases use the built-in
|
||||
|
||||
*Right:*
|
||||
~~~ {.javascript}
|
||||
import types = require("utils/types");
|
||||
import * as types from "utils/types";
|
||||
var myVar;
|
||||
|
||||
if(types.isString(myVar)) {
|
||||
|
||||
Reference in New Issue
Block a user