Fix small typo (#11682)

This commit is contained in:
Sajad Torkamani 2020-06-05 20:08:56 +01:00 committed by GitHub
parent 71d3527ef5
commit 9d289c1457
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ export default declare(
if (node.definite || node.declare) {
if (node.value) {
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`,
);
}