@itwin/clash-detection-client
Version:
Clash Detection client for the iTwin platform
16 lines • 773 B
JavaScript
;
/*---------------------------------------------------------------------------------------------
* 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