juliette-ng
Version:
Angular Plugin for Juliette
23 lines (22 loc) • 1.29 kB
TypeScript
import { ModuleWithProviders } from '@angular/core';
import { Store } from 'juliette';
import * as i0 from "@angular/core";
export declare function createStoreFactory<T>(initialState: T, devMode: boolean): Store<T>;
export declare class StoreRootModule {
static ɵfac: i0.ɵɵFactoryDeclaration<StoreRootModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<StoreRootModule, never, never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<StoreRootModule>;
}
export declare class StoreFeatureModule {
constructor(store: Store<any>, featureKeys: any[], initialStates: any[]);
static ɵfac: i0.ɵɵFactoryDeclaration<StoreFeatureModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<StoreFeatureModule, never, never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<StoreFeatureModule>;
}
export declare class StoreModule {
static forRoot<T>(initialState: T, devMode?: boolean): ModuleWithProviders<StoreRootModule>;
static forFeature<T>(featureKey: keyof T, initialState: T[keyof T]): ModuleWithProviders<StoreFeatureModule>;
static ɵfac: i0.ɵɵFactoryDeclaration<StoreModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<StoreModule, never, never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<StoreModule>;
}