Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export default declare((api, options) => {
api.assertVersion(7);
return createClassFeaturePlugin({
name: "proposal-class-properties",
feature: FEATURES.fields,
loose: options.loose,
manipulateOptions(opts, parserOpts) {
parserOpts.plugins.push("classProperties", "classPrivateProperties");
},
});
});