Fix small typo with decorators legacy option [skip ci] (#7762)
This commit is contained in:
parent
339dfddca5
commit
e45b58dcb1
@ -14,7 +14,7 @@ export default declare((api, options) => {
|
|||||||
if (legacy !== true) {
|
if (legacy !== true) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
"The new decorators proposal is not supported yet." +
|
"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",
|
" @babel/plugin-proposal-decorators",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -25,7 +25,7 @@ export default declare((api, opts = {}) => {
|
|||||||
if (decoratorsLegacy !== true) {
|
if (decoratorsLegacy !== true) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
"The new decorators proposal is not supported yet." +
|
"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",
|
" @babel/preset-stage-0",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -30,7 +30,7 @@ export default declare((api, opts = {}) => {
|
|||||||
if (decoratorsLegacy !== true) {
|
if (decoratorsLegacy !== true) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
"The new decorators proposal is not supported yet." +
|
"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",
|
" @babel/preset-stage-1",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -29,7 +29,7 @@ export default declare((api, opts = {}) => {
|
|||||||
if (decoratorsLegacy !== true) {
|
if (decoratorsLegacy !== true) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
"The new decorators proposal is not supported yet." +
|
"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",
|
" @babel/preset-stage-2",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user