12 lines
385 B
JavaScript
12 lines
385 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.deunionize = void 0;
|
|
/**
|
|
* Expose properties from all union variants.
|
|
* @see https://github.com/telegraf/telegraf/issues/1388#issuecomment-791573609
|
|
* @see https://millsp.github.io/ts-toolbelt/modules/union_strict.html
|
|
*/
|
|
function deunionize(t) {
|
|
return t;
|
|
}
|
|
exports.deunionize = deunionize;
|