-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.d.ts
34 lines (29 loc) · 890 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/**
* Copyright 2016-present, Deloitte Digital.
* All rights reserved.
*
* This source code is licensed under the BSD-3-Clause license found in the
* LICENSE file in the root directory of this source tree.
*/
import { IDomFactory } from 'react-habitat';
declare module "react-habitat-redux" {
class ReduxDomFactory implements IDomFactory {
/**
* Constructor
* @param {*} store - The Redux store
*/
constructor(store: any);
/**
* The inject method after a wire-up has been requested
* @param {*} module - The component
* @param {object} props - The components properties
* @param {Element} target - The element to inject the component into
*/
inject: (module: any, props: {}, target: Element) => void;
/**
* The dispose method
* @param {Element} target - The element to dispose
*/
dispose: (target: Element) => void;
}
}