UNPKG

bx-rest

Version:

Bitrix24 REST API client angular, vue or typescript

6 lines (5 loc) 434 B
import { iBXRestAnswer, iBXRestAnswerSuccess } from '../typification/rest/base/answer'; export declare function BXRestMapResult<T>(v: iBXRestAnswer<T>): NonNullable<T>; export declare function BXRestMapResult(v: undefined): undefined; export declare function BXRestMapResult<T>(v: iBXRestAnswer<T> | undefined): T | undefined; export declare function instanceOfiBXRestAnswerSuccess<T>(object: any): object is iBXRestAnswerSuccess<T>;