mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-11-14 22:57:11 +00:00
Typescript-eslint 2 (#193)
This commit is contained in:
1 parent
52cc245c37
commit
876410cc8e
20 files changed
+137
-75
No files matched your search
@@ -25,7 +25,7 @@ function callNext (current: SubjectInfo, subject: BehaviorSubject<SubjectInfo>,
|
||||
subject.next(filtered);
|
||||
}
|
||||
|
||||
export default function genericSubject (keyCreator: (address: string) => string, withTest: boolean = false): AddressSubject {
|
||||
export default function genericSubject (keyCreator: (address: string) => string, withTest = false): AddressSubject {
|
||||
let current: SubjectInfo = {};
|
||||
const subject = new BehaviorSubject({});
|
||||
const next = (): void => callNext(current, subject, withTest);
|
||||
|
||||
Reference in new issue
Block a user