typescript 4.9.0-dev.20221026 → 4.9.0-dev.20221027

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
@@ -69,7 +69,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
69
69
  var ts;
70
70
  (function (ts) {
71
71
  ts.versionMajorMinor = "4.9";
72
- ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221026");
72
+ ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221027");
73
73
  var NativeCollections;
74
74
  (function (NativeCollections) {
75
75
  var globals = typeof globalThis !== "undefined" ? globalThis :
package/lib/tsserver.js CHANGED
@@ -109,7 +109,7 @@ var ts;
109
109
  // The following is baselined as a literal template type without intervention
110
110
  /** The version of the TypeScript compiler release */
111
111
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
112
- ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221026");
112
+ ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221027");
113
113
  /* @internal */
114
114
  var Comparison;
115
115
  (function (Comparison) {
@@ -149951,10 +149951,10 @@ var ts;
149951
149951
  !nodeIsInDecoratorContext(context.nextTokenParent);
149952
149952
  }
149953
149953
  function nodeIsInDecoratorContext(node) {
149954
- while (ts.isExpressionNode(node)) {
149954
+ while (node && ts.isExpression(node)) {
149955
149955
  node = node.parent;
149956
149956
  }
149957
- return node.kind === 167 /* SyntaxKind.Decorator */;
149957
+ return node && node.kind === 167 /* SyntaxKind.Decorator */;
149958
149958
  }
149959
149959
  function isStartOfVariableDeclarationList(context) {
149960
149960
  return context.currentTokenParent.kind === 258 /* SyntaxKind.VariableDeclarationList */ &&
@@ -108,7 +108,7 @@ var ts;
108
108
  // The following is baselined as a literal template type without intervention
109
109
  /** The version of the TypeScript compiler release */
110
110
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
111
- ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221026");
111
+ ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221027");
112
112
  /* @internal */
113
113
  var Comparison;
114
114
  (function (Comparison) {
@@ -150369,10 +150369,10 @@ var ts;
150369
150369
  !nodeIsInDecoratorContext(context.nextTokenParent);
150370
150370
  }
150371
150371
  function nodeIsInDecoratorContext(node) {
150372
- while (ts.isExpressionNode(node)) {
150372
+ while (node && ts.isExpression(node)) {
150373
150373
  node = node.parent;
150374
150374
  }
150375
- return node.kind === 167 /* SyntaxKind.Decorator */;
150375
+ return node && node.kind === 167 /* SyntaxKind.Decorator */;
150376
150376
  }
150377
150377
  function isStartOfVariableDeclarationList(context) {
150378
150378
  return context.currentTokenParent.kind === 258 /* SyntaxKind.VariableDeclarationList */ &&
package/lib/typescript.js CHANGED
@@ -99,7 +99,7 @@ var ts;
99
99
  // The following is baselined as a literal template type without intervention
100
100
  /** The version of the TypeScript compiler release */
101
101
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
102
- ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221026");
102
+ ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221027");
103
103
  /* @internal */
104
104
  var Comparison;
105
105
  (function (Comparison) {
@@ -150360,10 +150360,10 @@ var ts;
150360
150360
  !nodeIsInDecoratorContext(context.nextTokenParent);
150361
150361
  }
150362
150362
  function nodeIsInDecoratorContext(node) {
150363
- while (ts.isExpressionNode(node)) {
150363
+ while (node && ts.isExpression(node)) {
150364
150364
  node = node.parent;
150365
150365
  }
150366
- return node.kind === 167 /* SyntaxKind.Decorator */;
150366
+ return node && node.kind === 167 /* SyntaxKind.Decorator */;
150367
150367
  }
150368
150368
  function isStartOfVariableDeclarationList(context) {
150369
150369
  return context.currentTokenParent.kind === 258 /* SyntaxKind.VariableDeclarationList */ &&
@@ -99,7 +99,7 @@ var ts;
99
99
  // The following is baselined as a literal template type without intervention
100
100
  /** The version of the TypeScript compiler release */
101
101
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
102
- ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221026");
102
+ ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221027");
103
103
  /* @internal */
104
104
  var Comparison;
105
105
  (function (Comparison) {
@@ -150360,10 +150360,10 @@ var ts;
150360
150360
  !nodeIsInDecoratorContext(context.nextTokenParent);
150361
150361
  }
150362
150362
  function nodeIsInDecoratorContext(node) {
150363
- while (ts.isExpressionNode(node)) {
150363
+ while (node && ts.isExpression(node)) {
150364
150364
  node = node.parent;
150365
150365
  }
150366
- return node.kind === 167 /* SyntaxKind.Decorator */;
150366
+ return node && node.kind === 167 /* SyntaxKind.Decorator */;
150367
150367
  }
150368
150368
  function isStartOfVariableDeclarationList(context) {
150369
150369
  return context.currentTokenParent.kind === 258 /* SyntaxKind.VariableDeclarationList */ &&
@@ -89,7 +89,7 @@ var ts;
89
89
  // The following is baselined as a literal template type without intervention
90
90
  /** The version of the TypeScript compiler release */
91
91
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
92
- ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221026");
92
+ ts.version = "".concat(ts.versionMajorMinor, ".0-dev.20221027");
93
93
  /* @internal */
94
94
  var Comparison;
95
95
  (function (Comparison) {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "typescript",
3
3
  "author": "Microsoft Corp.",
4
4
  "homepage": "https://www.typescriptlang.org/",
5
- "version": "4.9.0-dev.20221026",
5
+ "version": "4.9.0-dev.20221027",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [