Gitiles
Code Review
Sign In
gerrit.avm99963.com
/
translateselectedtext
/
87e350577662bde55c195391da0f3e2b3b1a3d6a
/
.
/
src
/
common
/
sessionStorage_mv3.ts
blob: befd2a88068f6183b42bcf3cfef082c2033267e5 [
file
] [
log
] [
blame
]
export
default
class
ExtSessionStorage
{
static
set
(
items
:
any
):
Promise
<void>
{
return
chrome
.
storage
.
session
.
set
(
items
);
}
static
get
(
keys
?:
string
|
string
[]|
undefined
):
Promise
<any>
{
return
chrome
.
storage
.
session
.
get
(
keys
);
}
}