UNPKG

@rxap/ts-morph

Version:

Provides utilities for manipulating TypeScript code using the ts-morph library. It offers a fluent API to add, modify, and remove code elements such as classes, decorators, imports, and properties in both Angular and NestJS projects. This package simplifi

23 lines 845 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CoerceNestEnvironmentProvider = CoerceNestEnvironmentProvider; const coerce_nest_module_provider_1 = require("./coerce-nest-module-provider"); function CoerceNestEnvironmentProvider(sourceFile) { (0, coerce_nest_module_provider_1.CoerceNestModuleProvider)(sourceFile, { providerObject: { provide: 'ENVIRONMENT', useValue: 'environment', }, structures: [ { namedImports: ['ENVIRONMENT'], moduleSpecifier: '@rxap/nest-utilities', }, { namedImports: ['environment'], moduleSpecifier: '../environments/environment', }, ], }); } //# sourceMappingURL=coerce-nest-environment-provider.js.map