Type anys
This commit is contained in:
parent
332fdc5f38
commit
81ed65b099
|
@ -5,10 +5,10 @@ import { Store as StoreContext } from "."
|
|||
|
||||
interface ConfigStore {
|
||||
datasource: UIDatasource
|
||||
initialSortColumn: any
|
||||
initialSortColumn: Readable<string>
|
||||
initialSortOrder: any
|
||||
initialFilter: any
|
||||
fixedRowHeight: any
|
||||
fixedRowHeight: Readable<number>
|
||||
schemaOverrides: any
|
||||
notifySuccess: any
|
||||
notifyError: any
|
||||
|
|
|
@ -70,23 +70,19 @@ export type Store = BaseStore &
|
|||
Scroll.Store & {
|
||||
// TODO while typing the rest of stores
|
||||
sort: Writable<any>
|
||||
initialFilter: Writable<any>
|
||||
initialSortColumn: Writable<any>
|
||||
initialSortOrder: Writable<any>
|
||||
subscribe: any
|
||||
config: Writable<any>
|
||||
dispatch: (event: string, data: any) => any
|
||||
notifications: Writable<any>
|
||||
schemaOverrides: Writable<any>
|
||||
gridID: string
|
||||
props: Writable<any>
|
||||
width: Writable<number>
|
||||
fixedRowHeight: Writable<number>
|
||||
bounds: Readable<any>
|
||||
height: Readable<number>
|
||||
} & Rows.Store &
|
||||
Reorder.Store &
|
||||
Resize.Store
|
||||
Resize.Store &
|
||||
Config.Store
|
||||
|
||||
export const attachStores = (context: Store): Store => {
|
||||
// Atomic store creation
|
||||
|
|
Loading…
Reference in New Issue