UNPKG
taggedjs
Version:
latest (3.1.24)
3.1.24
3.1.23
3.1.18
3.1.15
3.1.13
3.1.12
3.1.10
3.1.9
3.1.8
3.1.5
3.1.4
3.1.1
3.0.10
3.0.9
3.0.5
3.0.3
3.0.2
2.8.44
2.8.43
2.8.38
2.8.37
2.8.36
2.8.35
2.8.33
2.8.32
2.8.31
2.8.30
2.8.29
2.8.28
2.8.27
2.8.26
2.8.24
2.8.22
2.8.20
2.8.19
2.8.18
2.8.17
2.8.15
2.8.14
2.8.10
2.8.9
2.8.8
2.8.5
2.8.3
2.8.2
2.8.1
2.7.9
2.7.8
2.7.7
2.7.6
2.7.4
2.7.3
2.7.2
2.6.12
2.6.10
2.6.9
2.6.8
2.6.7
2.6.5
2.6.4
2.6.3
2.6.2
2.6.1
2.5.24
2.5.23
2.5.22
2.5.21
2.5.20
2.5.19
2.5.18
2.5.17
2.5.15
2.5.14
2.5.13
2.5.12
2.5.11
2.5.9
2.5.8
2.5.7
2.5.6
2.5.5
2.5.4
2.4.32
2.4.31
2.4.17
2.4.16
2.4.14
2.4.12
2.4.10
2.4.2
2.3.30
2.3.28
2.3.27
2.3.26
2.3.25
2.1.2
2.1.1
2.0.1
0.0.14
0.0.13
0.0.12
0.0.11
0.0.6
0.0.5
tagged template reactive html
taggedjs
/
js
/
state
/
state.function.d.ts
3 lines
(2 loc)
•
151 B
TypeScript
View Raw
1
2
3
/** Used for variables that need to remain the same variable during render passes */
export
declare
function
state
<
T
>(
defaultValue: T | (
(
) => T
)
):
T
;