Skip to content

Commit

Permalink
Fix small typo with decorators legacy option [skip ci] (babel#7762)
Browse files Browse the repository at this point in the history
  • Loading branch information
existentialism committed Apr 20, 2018
1 parent 339dfdd commit e45b58d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/babel-plugin-proposal-decorators/src/index.js
Expand Up @@ -14,7 +14,7 @@ export default declare((api, options) => {
if (legacy !== true) {
throw new Error(
"The new decorators proposal is not supported yet." +
' You muse pass the `"legacy": true` option to' +
' You must pass the `"legacy": true` option to' +
" @babel/plugin-proposal-decorators",
);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset-stage-0/src/index.js
Expand Up @@ -25,7 +25,7 @@ export default declare((api, opts = {}) => {
if (decoratorsLegacy !== true) {
throw new Error(
"The new decorators proposal is not supported yet." +
' You muse pass the `"decoratorsLegacy": true` option to' +
' You must pass the `"decoratorsLegacy": true` option to' +
" @babel/preset-stage-0",
);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset-stage-1/src/index.js
Expand Up @@ -30,7 +30,7 @@ export default declare((api, opts = {}) => {
if (decoratorsLegacy !== true) {
throw new Error(
"The new decorators proposal is not supported yet." +
' You muse pass the `"decoratorsLegacy": true` option to' +
' You must pass the `"decoratorsLegacy": true` option to' +
" @babel/preset-stage-1",
);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset-stage-2/src/index.js
Expand Up @@ -29,7 +29,7 @@ export default declare((api, opts = {}) => {
if (decoratorsLegacy !== true) {
throw new Error(
"The new decorators proposal is not supported yet." +
' You muse pass the `"decoratorsLegacy": true` option to' +
' You must pass the `"decoratorsLegacy": true` option to' +
" @babel/preset-stage-2",
);
}
Expand Down

0 comments on commit e45b58d

Please sign in to comment.