proper feature call isLoose function #9424
This commit is contained in:
@@ -54,9 +54,7 @@ export function createClassFeaturePlugin({
|
||||
|
||||
verifyUsedFeatures(path, this.file);
|
||||
|
||||
// Only fields are currently supported, this needs to be moved somewhere
|
||||
// else when other features are added.
|
||||
const loose = isLoose(this.file, FEATURES.fields);
|
||||
const loose = isLoose(this.file, feature);
|
||||
|
||||
let constructor;
|
||||
let isDecorated = hasOwnDecorators(path.node);
|
||||
|
||||
Reference in New Issue
Block a user