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.
- package/lib/tsc.js +160 -105
- package/lib/tsserver.js +165 -108
- package/lib/tsserverlibrary.d.ts +2 -2
- package/lib/tsserverlibrary.js +164 -107
- package/lib/typescript.d.ts +2 -2
- package/lib/typescript.js +163 -106
- package/lib/typingsInstaller.js +70 -64
- package/package.json +1 -1
package/lib/tsserverlibrary.d.ts
CHANGED
|
@@ -7018,6 +7018,7 @@ declare namespace ts {
|
|
|
7018
7018
|
interface CompilerOptions {
|
|
7019
7019
|
allowImportingTsExtensions?: boolean;
|
|
7020
7020
|
allowJs?: boolean;
|
|
7021
|
+
allowArbitraryExtensions?: boolean;
|
|
7021
7022
|
allowSyntheticDefaultImports?: boolean;
|
|
7022
7023
|
allowUmdGlobalAccess?: boolean;
|
|
7023
7024
|
allowUnreachableCode?: boolean;
|
|
@@ -7281,7 +7282,7 @@ declare namespace ts {
|
|
|
7281
7282
|
* Extension of resolvedFileName. This must match what's at the end of resolvedFileName.
|
|
7282
7283
|
* This is optional for backwards-compatibility, but will be added if not provided.
|
|
7283
7284
|
*/
|
|
7284
|
-
extension:
|
|
7285
|
+
extension: string;
|
|
7285
7286
|
packageId?: PackageId;
|
|
7286
7287
|
}
|
|
7287
7288
|
/**
|
|
@@ -9212,7 +9213,6 @@ declare namespace ts {
|
|
|
9212
9213
|
function bundlerModuleNameResolver(moduleName: string, containingFile: string, compilerOptions: CompilerOptions, host: ModuleResolutionHost, cache?: ModuleResolutionCache, redirectedReference?: ResolvedProjectReference): ResolvedModuleWithFailedLookupLocations;
|
|
9213
9214
|
function nodeModuleNameResolver(moduleName: string, containingFile: string, compilerOptions: CompilerOptions, host: ModuleResolutionHost, cache?: ModuleResolutionCache, redirectedReference?: ResolvedProjectReference): ResolvedModuleWithFailedLookupLocations;
|
|
9214
9215
|
function classicNameResolver(moduleName: string, containingFile: string, compilerOptions: CompilerOptions, host: ModuleResolutionHost, cache?: NonRelativeModuleNameResolutionCache, redirectedReference?: ResolvedProjectReference): ResolvedModuleWithFailedLookupLocations;
|
|
9215
|
-
function moduleResolutionSupportsResolvingTsExtensions(compilerOptions: CompilerOptions): boolean;
|
|
9216
9216
|
function shouldAllowImportingTsExtension(compilerOptions: CompilerOptions, fromFileName?: string): boolean | "" | undefined;
|
|
9217
9217
|
interface TypeReferenceDirectiveResolutionCache extends PerDirectoryResolutionCache<ResolvedTypeReferenceDirectiveWithFailedLookupLocations>, NonRelativeNameResolutionCache<ResolvedTypeReferenceDirectiveWithFailedLookupLocations>, PackageJsonInfoCache {
|
|
9218
9218
|
}
|