mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Interface linting rule * fix: changed model names in store files so that the interface names do not conflict with the model names
17 lines
320 B
TypeScript
17 lines
320 B
TypeScript
import { RootStore, RootStoreInterface } from './RootStore/RootStore';
|
|
import config from 'app/core/config';
|
|
|
|
export let store: RootStoreInterface;
|
|
|
|
export function createStore(services) {
|
|
store = RootStore.create(
|
|
{},
|
|
{
|
|
...services,
|
|
navTree: config.bootData.navTree,
|
|
}
|
|
);
|
|
|
|
return store;
|
|
}
|