@typescript-deploys/pr-build 5.1.0-pr-53092-8 → 5.1.0-pr-52226-2

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 CHANGED
@@ -23,7 +23,7 @@ var __export = (target, all) => {
23
23
 
24
24
  // src/compiler/corePublic.ts
25
25
  var versionMajorMinor = "5.1";
26
- var version = `${versionMajorMinor}.0-insiders.20230304`;
26
+ var version = `${versionMajorMinor}.0-insiders.20230306`;
27
27
 
28
28
  // src/compiler/core.ts
29
29
  var emptyArray = [];
@@ -72028,7 +72028,7 @@ function createTypeChecker(host) {
72028
72028
  function checkAllCodePathsInNonVoidFunctionReturnOrThrowDiagnostics() {
72029
72029
  const functionFlags = getFunctionFlags(func);
72030
72030
  const type = returnType && unwrapReturnType(returnType, functionFlags);
72031
- if (type && maybeTypeOfKind(type, 32768 /* Undefined */ | 16384 /* Void */ | 1 /* Any */)) {
72031
+ if (type && maybeTypeOfKind(type, 1 /* Any */ | 16384 /* Void */)) {
72032
72032
  return;
72033
72033
  }
72034
72034
  if (func.kind === 170 /* MethodSignature */ || nodeIsMissing(func.body) || func.body.kind !== 238 /* Block */ || !functionHasImplicitReturn(func)) {
package/lib/tsserver.js CHANGED
@@ -2286,7 +2286,7 @@ module.exports = __toCommonJS(server_exports);
2286
2286
 
2287
2287
  // src/compiler/corePublic.ts
2288
2288
  var versionMajorMinor = "5.1";
2289
- var version = `${versionMajorMinor}.0-insiders.20230304`;
2289
+ var version = `${versionMajorMinor}.0-insiders.20230306`;
2290
2290
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2291
2291
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2292
2292
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -76633,7 +76633,7 @@ function createTypeChecker(host) {
76633
76633
  function checkAllCodePathsInNonVoidFunctionReturnOrThrowDiagnostics() {
76634
76634
  const functionFlags = getFunctionFlags(func);
76635
76635
  const type = returnType && unwrapReturnType(returnType, functionFlags);
76636
- if (type && maybeTypeOfKind(type, 32768 /* Undefined */ | 16384 /* Void */ | 1 /* Any */)) {
76636
+ if (type && maybeTypeOfKind(type, 1 /* Any */ | 16384 /* Void */)) {
76637
76637
  return;
76638
76638
  }
76639
76639
  if (func.kind === 170 /* MethodSignature */ || nodeIsMissing(func.body) || func.body.kind !== 238 /* Block */ || !functionHasImplicitReturn(func)) {
@@ -35,7 +35,7 @@ var ts = (() => {
35
35
  "src/compiler/corePublic.ts"() {
36
36
  "use strict";
37
37
  versionMajorMinor = "5.1";
38
- version = `${versionMajorMinor}.0-insiders.20230304`;
38
+ version = `${versionMajorMinor}.0-insiders.20230306`;
39
39
  Comparison = /* @__PURE__ */ ((Comparison3) => {
40
40
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
41
41
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -74443,7 +74443,7 @@ ${lanes.join("\n")}
74443
74443
  function checkAllCodePathsInNonVoidFunctionReturnOrThrowDiagnostics() {
74444
74444
  const functionFlags = getFunctionFlags(func);
74445
74445
  const type = returnType && unwrapReturnType(returnType, functionFlags);
74446
- if (type && maybeTypeOfKind(type, 32768 /* Undefined */ | 16384 /* Void */ | 1 /* Any */)) {
74446
+ if (type && maybeTypeOfKind(type, 1 /* Any */ | 16384 /* Void */)) {
74447
74447
  return;
74448
74448
  }
74449
74449
  if (func.kind === 170 /* MethodSignature */ || nodeIsMissing(func.body) || func.body.kind !== 238 /* Block */ || !functionHasImplicitReturn(func)) {
package/lib/typescript.js CHANGED
@@ -35,7 +35,7 @@ var ts = (() => {
35
35
  "src/compiler/corePublic.ts"() {
36
36
  "use strict";
37
37
  versionMajorMinor = "5.1";
38
- version = `${versionMajorMinor}.0-insiders.20230304`;
38
+ version = `${versionMajorMinor}.0-insiders.20230306`;
39
39
  Comparison = /* @__PURE__ */ ((Comparison3) => {
40
40
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
41
41
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -74443,7 +74443,7 @@ ${lanes.join("\n")}
74443
74443
  function checkAllCodePathsInNonVoidFunctionReturnOrThrowDiagnostics() {
74444
74444
  const functionFlags = getFunctionFlags(func);
74445
74445
  const type = returnType && unwrapReturnType(returnType, functionFlags);
74446
- if (type && maybeTypeOfKind(type, 32768 /* Undefined */ | 16384 /* Void */ | 1 /* Any */)) {
74446
+ if (type && maybeTypeOfKind(type, 1 /* Any */ | 16384 /* Void */)) {
74447
74447
  return;
74448
74448
  }
74449
74449
  if (func.kind === 170 /* MethodSignature */ || nodeIsMissing(func.body) || func.body.kind !== 238 /* Block */ || !functionHasImplicitReturn(func)) {
@@ -54,7 +54,7 @@ var path = __toESM(require("path"));
54
54
 
55
55
  // src/compiler/corePublic.ts
56
56
  var versionMajorMinor = "5.1";
57
- var version = `${versionMajorMinor}.0-insiders.20230304`;
57
+ var version = `${versionMajorMinor}.0-insiders.20230306`;
58
58
 
59
59
  // src/compiler/core.ts
60
60
  var emptyArray = [];
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@typescript-deploys/pr-build",
3
3
  "author": "Microsoft Corp.",
4
4
  "homepage": "https://www.typescriptlang.org/",
5
- "version": "5.1.0-pr-53092-8",
5
+ "version": "5.1.0-pr-52226-2",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
package/lib/README.md DELETED
@@ -1,5 +0,0 @@
1
- # Read This!
2
-
3
- **These files are not meant to be edited by hand.**
4
- If you need to make modifications, the respective files should be changed within the repository's top-level `src` directory.
5
- Running `hereby LKG` will then appropriately update the files in this directory.