mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-25 02:50:59 -05:00
Remove ts.{Map,Set,ESMap,Iterator} and associated types (#51439)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import {
|
||||
Debug, ESMap, FileWatcher, Map, ModulePath, ModuleSpecifierCache, ModuleSpecifierOptions, nodeModulesPathPart, Path,
|
||||
Debug, FileWatcher, ModulePath, ModuleSpecifierCache, ModuleSpecifierOptions, nodeModulesPathPart, Path,
|
||||
ResolvedModuleSpecifierInfo, UserPreferences,
|
||||
} from "./_namespaces/ts";
|
||||
|
||||
@@ -10,8 +10,8 @@ export interface ModuleSpecifierResolutionCacheHost {
|
||||
|
||||
/** @internal */
|
||||
export function createModuleSpecifierCache(host: ModuleSpecifierResolutionCacheHost): ModuleSpecifierCache {
|
||||
let containedNodeModulesWatchers: ESMap<string, FileWatcher> | undefined;
|
||||
let cache: ESMap<Path, ResolvedModuleSpecifierInfo> | undefined;
|
||||
let containedNodeModulesWatchers: Map<string, FileWatcher> | undefined;
|
||||
let cache: Map<Path, ResolvedModuleSpecifierInfo> | undefined;
|
||||
let currentKey: string | undefined;
|
||||
const result: ModuleSpecifierCache = {
|
||||
get(fromFileName, toFileName, preferences, options) {
|
||||
|
||||
Reference in New Issue
Block a user