UNPKG

ngx-rickandmorty

Version:

22 lines 570 B
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { API_OPTIONS } from './tokens'; export class ApiModule { static configure(options) { return { ngModule: ApiModule, providers: [ { provide: API_OPTIONS, useValue: options, }, ], }; } } ApiModule.decorators = [ { type: NgModule, args: [{ imports: [CommonModule], },] } ]; //# sourceMappingURL=api.module.js.map