UNPKG

538 BTypeScriptView Raw
1import { EnvironmentProviders, Type } from '@angular/core';
2import { FunctionalEffect } from './models';
3/**
4 * Runs the provided effects.
5 * Can be called at the root and feature levels.
6 */
7export declare function provideEffects(effects: Array<Type<unknown> | Record<string, FunctionalEffect>>): EnvironmentProviders;
8/**
9 * Runs the provided effects.
10 * Can be called at the root and feature levels.
11 */
12export declare function provideEffects(...effects: Array<Type<unknown> | Record<string, FunctionalEffect>>): EnvironmentProviders;