From 9d289c1457b7a724950ea553d2fa52f41656642a Mon Sep 17 00:00:00 2001 From: Sajad Torkamani Date: Fri, 5 Jun 2020 20:08:56 +0100 Subject: [PATCH] Fix small typo (#11682) --- packages/babel-plugin-transform-typescript/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/babel-plugin-transform-typescript/src/index.js b/packages/babel-plugin-transform-typescript/src/index.js index 7598836f6a52..95cb76b166ea 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`, ); }