Sha256: 9872278b5bf810d0ce403ac5c6b258ed40d1e5bfe38b9f013105b2b312fb21e3
Contents?: true
Size: 701 Bytes
Versions: 22
Compression:
Stored size: 701 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.assertFieldTransformed = assertFieldTransformed; function assertFieldTransformed(path) { if (path.node.declare || false) { throw path.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by ` + `@babel/plugin-transform-typescript.\n` + `If you have already enabled that plugin (or '@babel/preset-typescript'), make sure ` + `that it runs before any plugin related to additional class features:\n` + ` - @babel/plugin-transform-class-properties\n` + ` - @babel/plugin-transform-private-methods\n` + ` - @babel/plugin-proposal-decorators`); } } //# sourceMappingURL=typescript.js.map
Version data entries
22 entries across 14 versions & 1 rubygems