Debian Codegraph @

packages/babel-plugin-proposal-class-properties/test/fixtures/public/regression-T6719/output.js

raw symbols SCIP
1 function withContext(ComposedComponent) {
2 var _class;
3 return _class = /*#__PURE__*/function (_Component) {
4 "use strict";
5
6 babelHelpers.inherits(WithContext, _Component);
7 var _super = babelHelpers.createSuper(WithContext);
8 function WithContext() {
9 babelHelpers.classCallCheck(this, WithContext);
10 return _super.apply(this, arguments);
11 }
12 return babelHelpers.createClass(WithContext);
13 }(Component), babelHelpers.defineProperty(_class, "propTypes", {
14 context: PropTypes.shape({
15 addCss: PropTypes.func,
16 setTitle: PropTypes.func,
17 setMeta: PropTypes.func
18 })
19 }), _class;
20 }