UNPKG

453 BJavaScriptView Raw
1'use strict';
2
3Object.defineProperty(exports, '__esModule', {
4 value: true
5});
6exports.default = getVersion;
7/**
8 * Copyright (c) Meta Platforms, Inc. and affiliates.
9 *
10 * This source code is licensed under the MIT license found in the
11 * LICENSE file in the root directory of this source tree.
12 */
13
14// Cannot be `import` as it's not under TS root dir
15const {version: VERSION} = require('../package.json');
16function getVersion() {
17 return VERSION;
18}