fix: bool detection
This commit is contained in:
parent
96cfd4c416
commit
6b47108425
|
@ -104,6 +104,8 @@ export default class Context {
|
|||
return 'null';
|
||||
}
|
||||
switch (typeof value) {
|
||||
case 'boolean':
|
||||
return 'bool';
|
||||
case 'function':
|
||||
return 'function';
|
||||
case 'number':
|
||||
|
|
Loading…
Reference in New Issue
Block a user