diff --git a/packages/babel-plugin-transform-typescript/src/index.js b/packages/babel-plugin-transform-typescript/src/index.js index 7598836f6a..95cb76b166 100644 --- a/packages/babel-plugin-transform-typescript/src/index.js +++ b/packages/babel-plugin-transform-typescript/src/index.js @@ -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`, ); }