UNPKG

@itwin/property-validation-client

Version:
16 lines 773 B
"use strict"; /*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *--------------------------------------------------------------------------------------------*/ Object.defineProperty(exports, "__esModule", { value: true }); exports.OperationUtils = void 0; class OperationUtils { static ensureAccessTokenProvided(accessToken, accessTokenCallback) { if (!accessToken && !accessTokenCallback) { throw new Error(`Access token or callback is required`); } } } exports.OperationUtils = OperationUtils; //# sourceMappingURL=OperationUtils.js.map