fix(DartWriter): number (js) maps to num (dart)
This commit is contained in:
parent
99bad64c3f
commit
cff47d4f8e
|
@ -91,7 +91,7 @@ export class DartTreeWriter extends JavaScriptParseTreeWriter {
|
|||
|
||||
normalizeType_(typeName) {
|
||||
if (typeName === 'number') {
|
||||
return 'int';
|
||||
return 'num';
|
||||
}
|
||||
|
||||
if (typeName === 'boolean') {
|
||||
|
|
Loading…
Reference in New Issue