Class: FakeGlobalState
libs/common/ide/fake/FakeGlobalState.FakeGlobalState
Implements
Constructors
constructor
• new FakeGlobalState()
Properties
data
• Private
Readonly
data: Map
<string
, any
>
Defined in
libs/common/ide/fake/FakeGlobalState.ts:4
Methods
get
▸ get(key
): boolean
Return a value.
Parameters
Name | Type |
---|---|
key | "hideInferenceWarning" |
Returns
boolean
Implementation of
Defined in
libs/common/ide/fake/FakeGlobalState.ts:6
set
▸ set(key
, value
): Thenable
<void
>
Store a value. The value must be JSON-stringifyable.
Parameters
Name | Type |
---|---|
key | "hideInferenceWarning" |
value | boolean |
Returns
Thenable
<void
>
Implementation of
Defined in
libs/common/ide/fake/FakeGlobalState.ts:10