mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
13 lines
353 B
TypeScript
13 lines
353 B
TypeScript
import { Container } from 'typedi';
|
|
import { EventSubscriber, On } from 'event-dispatch';
|
|
import events from 'subscribers/events';
|
|
import ItemsService from 'services/Items/ItemsService';
|
|
|
|
@EventSubscriber()
|
|
export default class ItemsSubscriber{
|
|
itemsService: ItemsService;
|
|
|
|
constructor() {
|
|
this.itemsService = Container.get(ItemsService);
|
|
};
|
|
} |