mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Base version test on 'versionMajorMinor'
This commit is contained in:
1 parent
6f7a37c99a
commit
8398a87da7
1 file changed
+1
-1
@@ -127,7 +127,7 @@ namespace ts {
|
||||
|
||||
/* @internal */
|
||||
export function getPackageJsonTypesVersionsOverride(typesVersions: MapLike<string>) {
|
||||
const typeScriptVersion = Version.parse(version);
|
||||
const typeScriptVersion = Version.parse(versionMajorMinor);
|
||||
let bestVersion: Version | undefined;
|
||||
let bestVersionKey: string | undefined;
|
||||
for (const key in typesVersions) {
|
||||
|
||||
Reference in new issue
Block a user