UNPKG
rune
Version:
latest (8.0.3)
8.0.3
8.0.2
8.0.1
8.0.0
7.11.0
7.10.0
7.9.2
7.9.1
CLI to upload your games to Rune
github.com/rune/rune
rune/rune
rune
/
dist
/
lib
/
storage
/
storage.d.ts
7 lines
(6 loc)
•
236 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
Storage
}
from
"./types.js"
;
export
declare
const
storage
: { get<T
extends
string
>(
key
: T):
Storage
[T] |
undefined
; set<
T_1
extends
string
>(
key
:
T_1
,
value
:
Storage
[
T_1
]):
void
;
delete
(
key
: keyof
Storage
):
void
; };