fix(DartWriter): number (js) maps to num (dart)

This commit is contained in:
Victor Berchet 2014-09-26 09:25:52 +02:00 committed by Vojta Jina
parent 99bad64c3f
commit cff47d4f8e
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ export class DartTreeWriter extends JavaScriptParseTreeWriter {
normalizeType_(typeName) {
if (typeName === 'number') {
return 'int';
return 'num';
}
if (typeName === 'boolean') {