diff --git a/packages/babel-plugin-proposal-decorators/src/index.js b/packages/babel-plugin-proposal-decorators/src/index.js index a7e9c5486aae..51d4a124d397 100644 --- a/packages/babel-plugin-proposal-decorators/src/index.js +++ b/packages/babel-plugin-proposal-decorators/src/index.js @@ -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", ); } diff --git a/packages/babel-preset-stage-0/src/index.js b/packages/babel-preset-stage-0/src/index.js index 25bd1f26e777..855614351d6c 100644 --- a/packages/babel-preset-stage-0/src/index.js +++ b/packages/babel-preset-stage-0/src/index.js @@ -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", ); } diff --git a/packages/babel-preset-stage-1/src/index.js b/packages/babel-preset-stage-1/src/index.js index 31b2e88a46c5..f4e47dce627c 100644 --- a/packages/babel-preset-stage-1/src/index.js +++ b/packages/babel-preset-stage-1/src/index.js @@ -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", ); } diff --git a/packages/babel-preset-stage-2/src/index.js b/packages/babel-preset-stage-2/src/index.js index fa87562bf974..f40084eac7a4 100644 --- a/packages/babel-preset-stage-2/src/index.js +++ b/packages/babel-preset-stage-2/src/index.js @@ -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", ); }