typescript 5.0.0-dev.20230109 → 5.0.0-dev.20230111

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3083,6 +3083,7 @@ declare namespace ts {
3083
3083
  interface CompilerOptions {
3084
3084
  allowImportingTsExtensions?: boolean;
3085
3085
  allowJs?: boolean;
3086
+ allowArbitraryExtensions?: boolean;
3086
3087
  allowSyntheticDefaultImports?: boolean;
3087
3088
  allowUmdGlobalAccess?: boolean;
3088
3089
  allowUnreachableCode?: boolean;
@@ -3346,7 +3347,7 @@ declare namespace ts {
3346
3347
  * Extension of resolvedFileName. This must match what's at the end of resolvedFileName.
3347
3348
  * This is optional for backwards-compatibility, but will be added if not provided.
3348
3349
  */
3349
- extension: Extension;
3350
+ extension: string;
3350
3351
  packageId?: PackageId;
3351
3352
  }
3352
3353
  /**
@@ -5277,7 +5278,6 @@ declare namespace ts {
5277
5278
  function bundlerModuleNameResolver(moduleName: string, containingFile: string, compilerOptions: CompilerOptions, host: ModuleResolutionHost, cache?: ModuleResolutionCache, redirectedReference?: ResolvedProjectReference): ResolvedModuleWithFailedLookupLocations;
5278
5279
  function nodeModuleNameResolver(moduleName: string, containingFile: string, compilerOptions: CompilerOptions, host: ModuleResolutionHost, cache?: ModuleResolutionCache, redirectedReference?: ResolvedProjectReference): ResolvedModuleWithFailedLookupLocations;
5279
5280
  function classicNameResolver(moduleName: string, containingFile: string, compilerOptions: CompilerOptions, host: ModuleResolutionHost, cache?: NonRelativeModuleNameResolutionCache, redirectedReference?: ResolvedProjectReference): ResolvedModuleWithFailedLookupLocations;
5280
- function moduleResolutionSupportsResolvingTsExtensions(compilerOptions: CompilerOptions): boolean;
5281
5281
  function shouldAllowImportingTsExtension(compilerOptions: CompilerOptions, fromFileName?: string): boolean | "" | undefined;
5282
5282
  interface TypeReferenceDirectiveResolutionCache extends PerDirectoryResolutionCache<ResolvedTypeReferenceDirectiveWithFailedLookupLocations>, NonRelativeNameResolutionCache<ResolvedTypeReferenceDirectiveWithFailedLookupLocations>, PackageJsonInfoCache {
5283
5283
  }