Skip to content

Commit 28ccdc9

Browse files
authored
chore: remove duplicate word (#2502)
1 parent 324a390 commit 28ccdc9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ This release fixes a minor issue with the previous release: I had to rename the
12331233

12341234
* Add support for TypeScript's `moduleSuffixes` field from TypeScript 4.7
12351235

1236-
The upcoming version of TypeScript adds the `moduleSuffixes` field to `tsconfig.json` that introduces more rules to import path resolution. Setting `moduleSuffixes` to `[".ios", ".native", ""]` will try to look at the the relative files `./foo.ios.ts`, `./foo.native.ts`, and finally `./foo.ts` for an import path of `./foo`. Note that the empty string `""` in `moduleSuffixes` is necessary for TypeScript to also look-up `./foo.ts`. This was announced in the [TypeScript 4.7 beta blog post](https://devblogs.microsoft.com/typescript/announcing-typescript-4-7-beta/#resolution-customization-with-modulesuffixes).
1236+
The upcoming version of TypeScript adds the `moduleSuffixes` field to `tsconfig.json` that introduces more rules to import path resolution. Setting `moduleSuffixes` to `[".ios", ".native", ""]` will try to look at the relative files `./foo.ios.ts`, `./foo.native.ts`, and finally `./foo.ts` for an import path of `./foo`. Note that the empty string `""` in `moduleSuffixes` is necessary for TypeScript to also look-up `./foo.ts`. This was announced in the [TypeScript 4.7 beta blog post](https://devblogs.microsoft.com/typescript/announcing-typescript-4-7-beta/#resolution-customization-with-modulesuffixes).
12371237

12381238
* Match the new ASI behavior from TypeScript nightly builds ([#2188](https://github.com/evanw/esbuild/pull/2188))
12391239

@@ -11874,7 +11874,7 @@ Note that you can also just use `--strict` to enable strictness for all transfor
1187411874

1187511875
* Error messages now use `sourcefile` ([#131](https://github.com/evanw/esbuild/issues/131))
1187611876

11877-
Errors from transform API calls now use `sourcefile` as the the original file name if present. Previously the file name in error messages was always `/input.js`.
11877+
Errors from transform API calls now use `sourcefile` as the original file name if present. Previously the file name in error messages was always `/input.js`.
1187811878

1187911879
## 0.4.14
1188011880

internal/js_parser/js_parser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16493,7 +16493,7 @@ func (p *parser) toAST(before, parts, after []js_ast.Part, hashbang string, dire
1649316493
// export let bar = c
1649416494
//
1649516495
// This is a smaller version of the general import/export scanning loop above.
16496-
// We only want to repeat the the code that eliminates TypeScript import-equals
16496+
// We only want to repeat the code that eliminates TypeScript import-equals
1649716497
// statements, not the other code in the loop above.
1649816498
for keptImportEquals && removedImportEquals {
1649916499
keptImportEquals = false

0 commit comments

Comments
 (0)