Search
Preparing search index...
The search index is not available
monaco-editor-auto-typings
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
monaco-editor-auto-typings
LocalStorageCache
Class LocalStorageCache
Hierarchy
LocalStorageCache
Implements
SourceCache
Index
Constructors
constructor
Properties
local
Cache
LOCALSTORAGE_
PREFIX
Methods
clear
get
File
store
File
Constructors
constructor
new
Local
Storage
Cache
(
)
:
LocalStorageCache
Returns
LocalStorageCache
Properties
Private
local
Cache
local
Cache
:
Record
<
string
,
string
>
= {}
Static
LOCALSTORAGE_
PREFIX
LOCALSTORAGE_
PREFIX
:
string
= '__autotyper_cache_'
Methods
clear
clear
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
get
File
get
File
(
uri
:
string
)
:
Promise
<
undefined
|
string
>
Parameters
uri:
string
Returns
Promise
<
undefined
|
string
>
store
File
store
File
(
uri
:
string
, content
:
string
)
:
Promise
<
void
>
Parameters
uri:
string
content:
string
Returns
Promise
<
void
>
Exports
Local
Storage
Cache
constructor
local
Cache
LOCALSTORAGE_
PREFIX
clear
get
File
store
File
Generated using
TypeDoc