Fix small typo (#11682)
This commit is contained in:
parent
71d3527ef5
commit
9d289c1457
@ -70,7 +70,7 @@ export default declare(
|
|||||||
if (node.definite || node.declare) {
|
if (node.definite || node.declare) {
|
||||||
if (node.value) {
|
if (node.value) {
|
||||||
throw path.buildCodeFrameError(
|
throw path.buildCodeFrameError(
|
||||||
`Definietly assigned fields and fields with the 'declare' modifier cannot` +
|
`Definitely assigned fields and fields with the 'declare' modifier cannot` +
|
||||||
` be initialized here, but only in the constructor`,
|
` be initialized here, but only in the constructor`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user