We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d34eed1 commit a2e6b9aCopy full SHA for a2e6b9a
src/utilities/mapFlowType.js
@@ -15,6 +15,10 @@ export default (databaseTypeName: string): string => {
15
return 'string';
16
}
17
18
+ if (databaseTypeName === 'boolean') {
19
+ return 'boolean';
20
+ }
21
+
22
if (databaseTypeName === 'bigint' || databaseTypeName === 'integer') {
23
return 'number';
24
test/utilities/mapFlowTypes.js
@@ -5,6 +5,7 @@ import mapFlowType from '../../src/utilities/mapFlowType';
5
6
const knownTypes = {
7
bigint: 'number',
8
+ boolean: 'boolean',
9
character: 'string',
10
coordinates: 'string',
11
integer: 'number',
0 commit comments