ing
This commit is contained in:
parent
042df27112
commit
c9331de422
|
@ -1,4 +1,4 @@
|
||||||
import inject from '../context/inject';
|
import inject from '../context/decorator/inject';
|
||||||
import WebSocketRPC from '../websocket/WebSocketRPC';
|
import WebSocketRPC from '../websocket/WebSocketRPC';
|
||||||
|
|
||||||
abstract class Service {
|
abstract class Service {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
import * as METADATA from './constants';
|
import * as METADATA from '../constants';
|
||||||
|
|
||||||
|
|
||||||
const inject = <TFunction extends Function>(type?: TFunction) => {
|
const inject = <TFunction extends Function>(type?: TFunction) => {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import * as METADATA from './constants';
|
import * as METADATA from '../constants';
|
||||||
|
|
||||||
function injectable(): ClassDecorator {
|
function injectable(): ClassDecorator {
|
||||||
return <TFunction extends Function>(target: TFunction): TFunction | void => {
|
return <TFunction extends Function>(target: TFunction): TFunction | void => {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import Service from '@overflow/commons/api/Service';
|
import Service from '@overflow/commons/api/Service';
|
||||||
import Member from '../model/Member';
|
import Member from '../model/Member';
|
||||||
import injectable from '@overflow/commons/context/injectable';
|
import injectable from '@overflow/commons/context/decorator/injectable';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user