UNPKG

@itwin/clash-detection-client

Version:

Clash Detection client for the iTwin platform

12 lines 629 B
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *--------------------------------------------------------------------------------------------*/ export class OperationUtils { static ensureAccessTokenProvided(accessToken, accessTokenCallback) { if (!accessToken && !accessTokenCallback) { throw new Error(`Access token or callback is required`); } } } //# sourceMappingURL=OperationUtils.js.map