refactor: Drop.prototype.value => valueOf

This commit is contained in:
harttle
2019-02-28 00:05:08 +08:00
parent d0118402e4
commit d5b9916b2f
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ export class EmptyDrop extends Drop implements IDrop, IComparable {
leq () {
return false
}
value () {
valueOf () {
return ''
}
}