import Service from './-utils/service'; import { createStore } from 'redux'; import { tracked } from '@glimmer/component'; import persons from './reducers/persons'; export interface Person { name: string, surname: string, gender: string, region: string } export default class Redux extends Service { store: any; constructor(options) { super(options); this.store = createStore( persons, window['__REDUX_DEVTOOLS_EXTENSION__'] && window['__REDUX_DEVTOOLS_EXTENSION__']() ) } }