Sha256: 153eb4aa7847d0f5b7d583661a62634b8410d4e4148b3422ac7c0936a02fad3a
Contents?: true
Size: 650 Bytes
Versions: 24
Compression:
Stored size: 650 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.assertFieldTransformed = assertFieldTransformed; function assertFieldTransformed(path) { if (path.node.declare) { 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-proposal-class-properties\n` + ` - @babel/plugin-proposal-private-methods\n` + ` - @babel/plugin-proposal-decorators`); } }
Version data entries
24 entries across 23 versions & 7 rubygems