From 602cc247a1ca8a69d01ba5486b373f6aeed4c52b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Mon, 30 Jan 2023 18:45:45 +0100 Subject: [PATCH] typo --- .../typescript/export-type-star-from/input.ts | 2 +- .../export-type-star-from/output.js | 2 +- .../export/export-type-star-from/input.ts | 2 +- .../export/export-type-star-from/output.json | 24 +++++++++---------- .../exports/export-type-star-from/input.ts | 2 +- .../exports/export-type-star-from/output.mjs | 2 +- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/packages/babel-generator/test/fixtures/typescript/export-type-star-from/input.ts b/packages/babel-generator/test/fixtures/typescript/export-type-star-from/input.ts index 7089aaf314cb..3d2ab4466447 100644 --- a/packages/babel-generator/test/fixtures/typescript/export-type-star-from/input.ts +++ b/packages/babel-generator/test/fixtures/typescript/export-type-star-from/input.ts @@ -1,5 +1,5 @@ export type * from './mod'; export type * as ns from './mod'; // Note: TSC doesn't support string module specifiers yet, -// but it's easier for us to support it that not. +// but it's easier for us to support them than not. export type * as "ns2" from './mod'; diff --git a/packages/babel-generator/test/fixtures/typescript/export-type-star-from/output.js b/packages/babel-generator/test/fixtures/typescript/export-type-star-from/output.js index 9acd5219f513..0da6405b3160 100644 --- a/packages/babel-generator/test/fixtures/typescript/export-type-star-from/output.js +++ b/packages/babel-generator/test/fixtures/typescript/export-type-star-from/output.js @@ -1,5 +1,5 @@ export type * from './mod'; export type * as ns from './mod'; // Note: TSC doesn't support string module specifiers yet, -// but it's easier for us to support it that not. +// but it's easier for us to support them than not. export type * as "ns2" from './mod'; \ No newline at end of file diff --git a/packages/babel-parser/test/fixtures/typescript/export/export-type-star-from/input.ts b/packages/babel-parser/test/fixtures/typescript/export/export-type-star-from/input.ts index 7089aaf314cb..3d2ab4466447 100644 --- a/packages/babel-parser/test/fixtures/typescript/export/export-type-star-from/input.ts +++ b/packages/babel-parser/test/fixtures/typescript/export/export-type-star-from/input.ts @@ -1,5 +1,5 @@ export type * from './mod'; export type * as ns from './mod'; // Note: TSC doesn't support string module specifiers yet, -// but it's easier for us to support it that not. +// but it's easier for us to support them than not. export type * as "ns2" from './mod'; diff --git a/packages/babel-parser/test/fixtures/typescript/export/export-type-star-from/output.json b/packages/babel-parser/test/fixtures/typescript/export/export-type-star-from/output.json index 8728a7f58d03..39370b77e60d 100644 --- a/packages/babel-parser/test/fixtures/typescript/export/export-type-star-from/output.json +++ b/packages/babel-parser/test/fixtures/typescript/export/export-type-star-from/output.json @@ -1,9 +1,9 @@ { "type": "File", - "start":0,"end":207,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":36,"index":207}}, + "start":0,"end":209,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":36,"index":209}}, "program": { "type": "Program", - "start":0,"end":207,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":36,"index":207}}, + "start":0,"end":209,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":36,"index":209}}, "sourceType": "module", "interpreter": null, "body": [ @@ -53,22 +53,22 @@ }, { "type": "CommentLine", - "value": " but it's easier for us to support it that not.", - "start":121,"end":170,"loc":{"start":{"line":4,"column":0,"index":121},"end":{"line":4,"column":49,"index":170}} + "value": " but it's easier for us to support them than not.", + "start":121,"end":172,"loc":{"start":{"line":4,"column":0,"index":121},"end":{"line":4,"column":51,"index":172}} } ] }, { "type": "ExportNamedDeclaration", - "start":171,"end":207,"loc":{"start":{"line":5,"column":0,"index":171},"end":{"line":5,"column":36,"index":207}}, + "start":173,"end":209,"loc":{"start":{"line":5,"column":0,"index":173},"end":{"line":5,"column":36,"index":209}}, "exportKind": "type", "specifiers": [ { "type": "ExportNamespaceSpecifier", - "start":183,"end":193,"loc":{"start":{"line":5,"column":12,"index":183},"end":{"line":5,"column":22,"index":193}}, + "start":185,"end":195,"loc":{"start":{"line":5,"column":12,"index":185},"end":{"line":5,"column":22,"index":195}}, "exported": { "type": "StringLiteral", - "start":188,"end":193,"loc":{"start":{"line":5,"column":17,"index":188},"end":{"line":5,"column":22,"index":193}}, + "start":190,"end":195,"loc":{"start":{"line":5,"column":17,"index":190},"end":{"line":5,"column":22,"index":195}}, "extra": { "rawValue": "ns2", "raw": "\"ns2\"" @@ -79,7 +79,7 @@ ], "source": { "type": "StringLiteral", - "start":199,"end":206,"loc":{"start":{"line":5,"column":28,"index":199},"end":{"line":5,"column":35,"index":206}}, + "start":201,"end":208,"loc":{"start":{"line":5,"column":28,"index":201},"end":{"line":5,"column":35,"index":208}}, "extra": { "rawValue": "./mod", "raw": "'./mod'" @@ -94,8 +94,8 @@ }, { "type": "CommentLine", - "value": " but it's easier for us to support it that not.", - "start":121,"end":170,"loc":{"start":{"line":4,"column":0,"index":121},"end":{"line":4,"column":49,"index":170}} + "value": " but it's easier for us to support them than not.", + "start":121,"end":172,"loc":{"start":{"line":4,"column":0,"index":121},"end":{"line":4,"column":51,"index":172}} } ] } @@ -110,8 +110,8 @@ }, { "type": "CommentLine", - "value": " but it's easier for us to support it that not.", - "start":121,"end":170,"loc":{"start":{"line":4,"column":0,"index":121},"end":{"line":4,"column":49,"index":170}} + "value": " but it's easier for us to support them than not.", + "start":121,"end":172,"loc":{"start":{"line":4,"column":0,"index":121},"end":{"line":4,"column":51,"index":172}} } ] } diff --git a/packages/babel-plugin-transform-typescript/test/fixtures/exports/export-type-star-from/input.ts b/packages/babel-plugin-transform-typescript/test/fixtures/exports/export-type-star-from/input.ts index 4c8d59dd5e13..d5d6cfc6b825 100644 --- a/packages/babel-plugin-transform-typescript/test/fixtures/exports/export-type-star-from/input.ts +++ b/packages/babel-plugin-transform-typescript/test/fixtures/exports/export-type-star-from/input.ts @@ -1,7 +1,7 @@ export type * from './mod'; export type * as ns from './mod'; // Note: TSC doesn't support string module specifiers yet, -// but it's easier for us to support it that not. +// but it's easier for us to support them than not. export type * as "ns2" from './mod'; ; diff --git a/packages/babel-plugin-transform-typescript/test/fixtures/exports/export-type-star-from/output.mjs b/packages/babel-plugin-transform-typescript/test/fixtures/exports/export-type-star-from/output.mjs index 9e210346b27e..85ed612456c0 100644 --- a/packages/babel-plugin-transform-typescript/test/fixtures/exports/export-type-star-from/output.mjs +++ b/packages/babel-plugin-transform-typescript/test/fixtures/exports/export-type-star-from/output.mjs @@ -1,5 +1,5 @@ // Note: TSC doesn't support string module specifiers yet, -// but it's easier for us to support it that not. +// but it's easier for us to support them than not. ; export {};