fix: bool detection

This commit is contained in:
cha0s 2021-01-30 20:04:15 -06:00
parent 96cfd4c416
commit 6b47108425

View File

@ -104,6 +104,8 @@ export default class Context {
return 'null';
}
switch (typeof value) {
case 'boolean':
return 'bool';
case 'function':
return 'function';
case 'number':