Skip to content

Commit

Permalink
fix(StoreDevtools): Type InjectionToken for AOT compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackburn29 authored and MikeRyanDev committed May 25, 2017
1 parent 089abdc commit e21d688
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions modules/store-devtools/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ export interface StoreDevtoolsConfig {
shouldInstrument: Type<boolean> | InjectionToken<boolean>;
}

export const STORE_DEVTOOLS_CONFIG = new InjectionToken('@ngrx/devtools Options');
export const INITIAL_OPTIONS = new InjectionToken('@ngrx/devtools Initial Config');
export const STORE_DEVTOOLS_CONFIG = new InjectionToken<StoreDevtoolsConfig>('@ngrx/devtools Options');
export const INITIAL_OPTIONS = new InjectionToken<StoreDevtoolsConfig>('@ngrx/devtools Initial Config');
export const SHOULD_INSTRUMENT = new InjectionToken<boolean>('@ngrx/devtools Should Instrument');


export type StoreDevtoolsOptions
= Partial<StoreDevtoolsConfig>
| (() => Partial<StoreDevtoolsConfig>)
;
;

0 comments on commit e21d688

Please sign in to comment.