Class: FakeGlobalState
libs/common/ide/fake/FakeGlobalState.FakeGlobalState
Implements
Constructors
constructor
• new FakeGlobalState()
Properties
data
• Private
Readonly
data: Object
Type declaration
Name | Type |
---|---|
hideInferenceWarning | boolean |
Defined in
libs/common/ide/fake/FakeGlobalState.ts:5
Methods
get
▸ get<K
>(key
): { hideInferenceWarning
: boolean
= false }[K
]
Return a value.
Type parameters
Name | Type |
---|---|
K | extends "hideInferenceWarning" |
Parameters
Name | Type |
---|---|
key | K |
Returns
{ hideInferenceWarning
: boolean
= false }[K
]
Implementation of
Defined in
libs/common/ide/fake/FakeGlobalState.ts:7
set
▸ set<K
>(key
, value
): Thenable
<void
>
Store a value. The value must be JSON-stringifyable.
Type parameters
Name | Type |
---|---|
K | extends "hideInferenceWarning" |
Parameters
Name | Type |
---|---|
key | K |
value | { hideInferenceWarning : boolean = false }[K ] |
Returns
Thenable
<void
>
Implementation of
Defined in
libs/common/ide/fake/FakeGlobalState.ts:11