chore: remove int in favor for number

Closes #3511
This commit is contained in:
Misko Hevery
2015-08-20 16:25:34 -07:00
parent 8336881a85
commit b986c54079
22 changed files with 95 additions and 93 deletions

View File

@ -50,7 +50,7 @@ int serializeEnum(val) {
* val should be the indexed value of the enum (sa returned from @Link{serializeEnum})
* values should be a map from indexes to values for the enum that you want to deserialize.
*/
dynamic deserializeEnum(int val, Map<int, dynamic> values) {
dynamic deserializeEnum(num val, Map<num, dynamic> values) {
return values[val];
}