UNPKG
th-gather
Version:
latest (2.2.0)
2.2.0
2.1.3
2.1.2
2.1.1
2.1.0
2.0.3
2.0.2
2.0.1
2.0.0
1.0.1
1.0.0
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
全埋点sdk
github.com/thomas-void0/th-gather
thomas-void0/th-gather
th-gather
/
dist
/
types
/
libs
/
store.d.ts
18 lines
(17 loc)
•
309 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
declare
class
Store
<
T
=
any
> {
value
: T; constructor(initValue: T);
/** * 设置存储的数据 */
set
(data: T):
void
;
/** * 获取存储的数据 */
get
(): T;
/** * 清除存储的数据 */
clear():
void
; } export
default
Store;