mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
fix(DartWriter): number (js) maps to num (dart)
This commit is contained in:
parent
99bad64c3f
commit
cff47d4f8e
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ export class DartTreeWriter extends JavaScriptParseTreeWriter {
|
|||
|
||||
normalizeType_(typeName) {
|
||||
if (typeName === 'number') {
|
||||
return 'int';
|
||||
return 'num';
|
||||
}
|
||||
|
||||
if (typeName === 'boolean') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue