forked from MapComplete/MapComplete
Chore: linting
This commit is contained in:
parent
4625ad9a5c
commit
097141f944
307 changed files with 5346 additions and 2147 deletions
|
|
@ -237,10 +237,10 @@ export abstract class Store<T> implements Readable<T> {
|
|||
|
||||
public bindD<X>(f: (t: Exclude<T, undefined | null>) => Store<X>): Store<X> {
|
||||
return this.bind((t) => {
|
||||
if(t=== null){
|
||||
if (t === null) {
|
||||
return null
|
||||
}
|
||||
if (t === undefined ) {
|
||||
if (t === undefined) {
|
||||
return undefined
|
||||
}
|
||||
return f(<Exclude<T, undefined | null>>t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue