console-play
Advanced tools
Comparing version 0.0.11 to 0.0.12
@@ -51,2 +51,5 @@ "use strict"; | ||
var checkFourDirection = (target) => { | ||
if (typeof target === "number") { | ||
return true; | ||
} | ||
return isPropertyAccessible(target) && (Boolean(target.top) || Boolean(target.right) || Boolean(target.bottom) || Boolean(target.left)); | ||
@@ -61,2 +64,5 @@ }; | ||
var checkThemeHandler = (target) => { | ||
if (typeof target === "string") { | ||
return true; | ||
} | ||
return isPropertyAccessible(target) && Boolean(target.handleTheme); | ||
@@ -63,0 +69,0 @@ }; |
@@ -37,2 +37,5 @@ "use strict"; | ||
var checkFourDirection = (target) => { | ||
if (typeof target === "number") { | ||
return true; | ||
} | ||
return isPropertyAccessible(target) && (Boolean(target.top) || Boolean(target.right) || Boolean(target.bottom) || Boolean(target.left)); | ||
@@ -47,2 +50,5 @@ }; | ||
var checkThemeHandler = (target) => { | ||
if (typeof target === "string") { | ||
return true; | ||
} | ||
return isPropertyAccessible(target) && Boolean(target.handleTheme); | ||
@@ -49,0 +55,0 @@ }; |
@@ -40,2 +40,5 @@ "use strict"; | ||
var checkFourDirection = (target) => { | ||
if (typeof target === "number") { | ||
return true; | ||
} | ||
return isPropertyAccessible(target) && (Boolean(target.top) || Boolean(target.right) || Boolean(target.bottom) || Boolean(target.left)); | ||
@@ -50,2 +53,5 @@ }; | ||
var checkThemeHandler = (target) => { | ||
if (typeof target === "string") { | ||
return true; | ||
} | ||
return isPropertyAccessible(target) && Boolean(target.handleTheme); | ||
@@ -52,0 +58,0 @@ }; |
{ | ||
"name": "console-play", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
20246
590