44 lines
871 B
TypeScript
44 lines
871 B
TypeScript
// import { Service } from "typedi";
|
|
|
|
// @Service()
|
|
// export class IEnv{
|
|
// rootFolder!: string;
|
|
// constructor(){
|
|
|
|
// }
|
|
// toStringEnv(){
|
|
// return ''
|
|
// }
|
|
// static env(){
|
|
// return ''
|
|
// }
|
|
// }
|
|
|
|
// @Service()
|
|
// export class DevEnv implements IEnv {
|
|
// rootFolder:string;
|
|
// constructor(rootFolder:string){
|
|
// this.rootFolder = rootFolder
|
|
// }
|
|
// toStringEnv(): string {
|
|
// return DevEnv.env()
|
|
// }
|
|
// static env(){
|
|
// return 'DevEnv'
|
|
|
|
// }
|
|
// }
|
|
// @Service()
|
|
// export class UnitTestEnv implements IEnv{
|
|
// rootFolder:string;
|
|
// constructor(rootFolder:string){
|
|
// this.rootFolder = rootFolder
|
|
// }
|
|
// toStringEnv(): string {
|
|
// return UnitTestEnv.env()
|
|
// }
|
|
// static env(){
|
|
// return 'UnitTestEnv'
|
|
|
|
// }
|
|
// }
|