@midwayjs/coreClassesMidwayEnvironmentService版本:Next本页总览MidwayEnvironmentService ImplementsIEnvironmentServiceIndex ConstructorsconstructorMethodsgetCurrentEnvironmentgetModuleLoadTypeisDevelopmentEnvironmentsetCurrentEnvironmentsetModuleLoadTypeConstructors constructornew MidwayEnvironmentService(): MidwayEnvironmentServiceMethods publicgetCurrentEnvironmentgetCurrentEnvironment(): stringpublicgetModuleLoadTypegetModuleLoadType(): ModuleLoadTypepublicisDevelopmentEnvironmentisDevelopmentEnvironment(): booleanpublicsetCurrentEnvironmentsetCurrentEnvironment(environment: string): voidpublicsetModuleLoadTypesetModuleLoadType(moduleLoadType: ModuleLoadType): void