17 lines
255 B
TypeScript
17 lines
255 B
TypeScript
|
import {
|
||
|
DIConfiguration,
|
||
|
Injectable,
|
||
|
ProviderScope,
|
||
|
ProviderType
|
||
|
} from '@tsed/di';
|
||
|
|
||
|
@Injectable({
|
||
|
scope: ProviderScope.SINGLETON,
|
||
|
global: true
|
||
|
})
|
||
|
export class AppSettingsService extends DIConfiguration {
|
||
|
constructor() {
|
||
|
super();
|
||
|
}
|
||
|
}
|