Skip to content

Commit 85ec9bf

Browse files
authored
Remove duplicate definition of Push (microsoft#35397)
It's also defined in `corePublic.ts` - there's no errors because they're (almost) identical and merge (creating a redundant overload for `push`). Ironically, while this definition was internal, the other is public (and more complete).
1 parent facafc7 commit 85ec9bf

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/compiler/moduleNameResolver.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ namespace ts {
1010
return !!compilerOptions.traceResolution && host.trace !== undefined;
1111
}
1212

13-
/** Array that is only intended to be pushed to, never read. */
14-
/* @internal */
15-
export interface Push<T> {
16-
push(value: T): void;
17-
}
18-
1913
function withPackageId(packageInfo: PackageJsonInfo | undefined, r: PathAndExtension | undefined): Resolved | undefined {
2014
let packageId: PackageId | undefined;
2115
if (r && packageInfo) {

0 commit comments

Comments
 (0)