UNPKG

385 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.deunionize = void 0;
4/**
5 * Expose properties from all union variants.
6 * @see https://github.com/telegraf/telegraf/issues/1388#issuecomment-791573609
7 * @see https://millsp.github.io/ts-toolbelt/modules/union_strict.html
8 */
9function deunionize(t) {
10 return t;
11}
12exports.deunionize = deunionize;