style: introduce @typescript-eslint/recommended

This commit is contained in:
harttle
2019-07-06 14:33:34 +08:00
parent e6f5f1cd85
commit 88c89fe3b3
48 changed files with 260 additions and 235 deletions
+6 -6
View File
@@ -4,22 +4,22 @@ import { isNil, toValue } from '../util/underscore'
import { BlankDrop } from '../drop/blank-drop'
export class NullDrop extends Drop implements IComparable {
equals (value: any) {
public equals (value: any) {
return isNil(toValue(value)) || value instanceof BlankDrop
}
gt () {
public gt () {
return false
}
geq () {
public geq () {
return false
}
lt () {
public lt () {
return false
}
leq () {
public leq () {
return false
}
valueOf () {
public valueOf () {
return null
}
}