mirror of
https://github.com/appy-one/acebase-core.git
synced 2026-05-25 22:01:34 -06:00
let Api inherit from SimpleEventEmitter
This commit is contained in:
parent
f96f3b2327
commit
712fa6533b
1 changed files with 5 additions and 3 deletions
|
|
@ -1,4 +1,5 @@
|
|||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||
import { SimpleEventEmitter } from './simple-event-emitter';
|
||||
import type { TypedArrayLike } from './utils';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
||||
|
|
@ -280,9 +281,10 @@ export type TransactionLogFilter = ({
|
|||
/**
|
||||
* Refactor to type/interface once acebase and acebase-client have been ported to TS
|
||||
*/
|
||||
export abstract class Api {
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
||||
constructor() {}
|
||||
export abstract class Api extends SimpleEventEmitter {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Provides statistics
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue