Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Nov 2, 2018
1 parent 51054eb commit 9953836
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/babel-plugin-class-features/src/features.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ export function isLoose(file, feature) {
export function verifyUsedFeatures(path, file) {
if (hasFeature(file, FEATURES.decorators)) {
throw new Error(
"@babel/plugin-class-features doesn't suport decorators yet.",
"@babel/plugin-class-features doesn't support decorators yet.",
);
}
if (hasFeature(file, FEATURES.privateMethods)) {
throw new Error(
"@babel/plugin-class-features doesn't suport private methods yet.",
"@babel/plugin-class-features doesn't support private methods yet.",
);
}

Expand Down

0 comments on commit 9953836

Please sign in to comment.