File tree 5 files changed +5
-5
lines changed
tests/baselines/reference/api
5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " typescript" ,
3
3
"author" : " Microsoft Corp." ,
4
4
"homepage" : " https://www.typescriptlang.org/" ,
5
- "version" : " 5.0 .0" ,
5
+ "version" : " 5.1 .0" ,
6
6
"license" : " Apache-2.0" ,
7
7
"description" : " TypeScript is a language for application scale JavaScript development" ,
8
8
"keywords" : [
Original file line number Diff line number Diff line change 1
1
// WARNING: The script `configurePrerelease.ts` uses a regexp to parse out these values.
2
2
// If changing the text in this section, be sure to test `configurePrerelease` too.
3
- export const versionMajorMinor = "5.0 " ;
3
+ export const versionMajorMinor = "5.1 " ;
4
4
// The following is baselined as a literal template type without intervention
5
5
/** The version of the TypeScript compiler release */
6
6
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
Original file line number Diff line number Diff line change @@ -4324,7 +4324,7 @@ export function createProgram(rootNamesOrOptions: readonly string[] | CreateProg
4324
4324
const version = typeScriptVersion || versionMajorMinor ;
4325
4325
const ignoreDeprecations = options . ignoreDeprecations ;
4326
4326
if ( ignoreDeprecations ) {
4327
- if ( ignoreDeprecations === DeprecationVersion . v5_0 && ( version === DeprecationVersion . v5_0 || version === DeprecationVersion . v5_5 ) ) {
4327
+ if ( ignoreDeprecations === DeprecationVersion . v5_0 && version . startsWith ( "5." ) ) {
4328
4328
return ;
4329
4329
}
4330
4330
else if ( reportInvalidIgnoreDeprecations ) {
Original file line number Diff line number Diff line change @@ -3989,7 +3989,7 @@ declare namespace ts {
3989
3989
responseRequired?: boolean;
3990
3990
}
3991
3991
}
3992
- const versionMajorMinor = "5.0 ";
3992
+ const versionMajorMinor = "5.1 ";
3993
3993
/** The version of the TypeScript compiler release */
3994
3994
const version: string;
3995
3995
/**
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ and limitations under the License.
14
14
***************************************************************************** */
15
15
16
16
declare namespace ts {
17
- const versionMajorMinor = "5.0 " ;
17
+ const versionMajorMinor = "5.1 " ;
18
18
/** The version of the TypeScript compiler release */
19
19
const version : string ;
20
20
/**
You can’t perform that action at this time.
0 commit comments