-
Notifications
You must be signed in to change notification settings - Fork 2
/
ConditionalValue.ts
28 lines (26 loc) · 1.43 KB
/
ConditionalValue.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
* @module Item
*/
import {
ConditionalBooleanValue as _ConditionalBooleanValue,
ConditionalStringValue as _ConditionalStringValue,
} from "@itwin/appui-abstract";
/** Class used to return a boolean value. The boolean value is refreshed by using the specified function. The syncEventIds define one or more
* eventIds that would require the testFunc to be rerun.
* @public
*/
export type ConditionalBooleanValue = _ConditionalBooleanValue;
// eslint-disable-next-line @typescript-eslint/no-redeclare, deprecation/deprecation
export const ConditionalBooleanValue = _ConditionalBooleanValue;
// eslint-disable-next-line @typescript-eslint/no-redeclare, deprecation/deprecation
/** Class used to return a string value. The string value is refreshed by using the specified function. The syncEventIds define one or more
* eventIds that would require the stringGetter function to be rerun.
* @public
*/
export type ConditionalStringValue = _ConditionalStringValue;
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const ConditionalStringValue = _ConditionalStringValue;