UNPKG

@sentry/utils

Version:
12 lines 582 B
/** * Polyfill for the optional chain operator, `?.`, given previous conversion of the expression into an array of values, * descriptors, and functions. * * Adapted from Sucrase (https://github.com/alangpierce/sucrase) * See https://github.com/alangpierce/sucrase/blob/265887868966917f3b924ce38dfad01fbab1329f/src/transformers/OptionalChainingNullishTransformer.ts#L15 * * @param ops Array result of expression conversion * @returns The value of the expression */ export declare function _optionalChain(ops: unknown[]): unknown; //# sourceMappingURL=_optionalChain.d.ts.map