Skip to content

Commit fba864a

Browse files
author
abluchet
committed
fix(typescript): boolean type
1 parent 3ba707c commit fba864a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generators/TypescriptInterfaceGenerator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default class TypescriptInterfaceGenerator {
3939
case 'http://www.w3.org/2001/XMLSchema#decimal':
4040
return 'number';
4141
case 'http://www.w3.org/2001/XMLSchema#boolean':
42-
return 'bool';
42+
return 'boolean';
4343
case 'http://www.w3.org/2001/XMLSchema#date':
4444
case 'http://www.w3.org/2001/XMLSchema#dateTime':
4545
case 'http://www.w3.org/2001/XMLSchema#time':

0 commit comments

Comments
 (0)