typescript 4.6.0-dev.20211108 → 4.6.0-dev.20211109

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.
@@ -111,7 +111,7 @@ interface BigInt64Array {
111
111
  * Returns the item located at the specified index.
112
112
  * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
113
113
  */
114
- at(index: number): number | undefined;
114
+ at(index: number): bigint | undefined;
115
115
  }
116
116
 
117
117
  interface BigUint64Array {
@@ -119,5 +119,5 @@ interface BigUint64Array {
119
119
  * Returns the item located at the specified index.
120
120
  * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
121
121
  */
122
- at(index: number): number | undefined;
122
+ at(index: number): bigint | undefined;
123
123
  }
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.6";
72
- ts.version = ts.versionMajorMinor + ".0-dev.20211108";
72
+ ts.version = ts.versionMajorMinor + ".0-dev.20211109";
73
73
  var NativeCollections;
74
74
  (function (NativeCollections) {
75
75
  function tryGetNativeMap() {
package/lib/tsserver.js CHANGED
@@ -100,7 +100,7 @@ var ts;
100
100
  // The following is baselined as a literal template type without intervention
101
101
  /** The version of the TypeScript compiler release */
102
102
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
103
- ts.version = ts.versionMajorMinor + ".0-dev.20211108";
103
+ ts.version = ts.versionMajorMinor + ".0-dev.20211109";
104
104
  /* @internal */
105
105
  var Comparison;
106
106
  (function (Comparison) {
@@ -159353,10 +159353,11 @@ var ts;
159353
159353
  }
159354
159354
  function findBaseOfDeclaration(checker, declaration, cb) {
159355
159355
  var _a;
159356
+ if (ts.hasStaticModifier(declaration))
159357
+ return;
159356
159358
  var classOrInterfaceDeclaration = ((_a = declaration.parent) === null || _a === void 0 ? void 0 : _a.kind) === 170 /* Constructor */ ? declaration.parent.parent : declaration.parent;
159357
- if (!classOrInterfaceDeclaration) {
159359
+ if (!classOrInterfaceDeclaration)
159358
159360
  return;
159359
- }
159360
159361
  return ts.firstDefined(ts.getAllSuperTypeNodes(classOrInterfaceDeclaration), function (superTypeNode) {
159361
159362
  var symbol = checker.getPropertyOfType(checker.getTypeAtLocation(superTypeNode), declaration.symbol.name);
159362
159363
  return symbol ? cb(symbol) : undefined;
@@ -294,7 +294,7 @@ var ts;
294
294
  // The following is baselined as a literal template type without intervention
295
295
  /** The version of the TypeScript compiler release */
296
296
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
297
- ts.version = ts.versionMajorMinor + ".0-dev.20211108";
297
+ ts.version = ts.versionMajorMinor + ".0-dev.20211109";
298
298
  /* @internal */
299
299
  var Comparison;
300
300
  (function (Comparison) {
@@ -159935,10 +159935,11 @@ var ts;
159935
159935
  }
159936
159936
  function findBaseOfDeclaration(checker, declaration, cb) {
159937
159937
  var _a;
159938
+ if (ts.hasStaticModifier(declaration))
159939
+ return;
159938
159940
  var classOrInterfaceDeclaration = ((_a = declaration.parent) === null || _a === void 0 ? void 0 : _a.kind) === 170 /* Constructor */ ? declaration.parent.parent : declaration.parent;
159939
- if (!classOrInterfaceDeclaration) {
159941
+ if (!classOrInterfaceDeclaration)
159940
159942
  return;
159941
- }
159942
159943
  return ts.firstDefined(ts.getAllSuperTypeNodes(classOrInterfaceDeclaration), function (superTypeNode) {
159943
159944
  var symbol = checker.getPropertyOfType(checker.getTypeAtLocation(superTypeNode), declaration.symbol.name);
159944
159945
  return symbol ? cb(symbol) : undefined;
package/lib/typescript.js CHANGED
@@ -294,7 +294,7 @@ var ts;
294
294
  // The following is baselined as a literal template type without intervention
295
295
  /** The version of the TypeScript compiler release */
296
296
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
297
- ts.version = ts.versionMajorMinor + ".0-dev.20211108";
297
+ ts.version = ts.versionMajorMinor + ".0-dev.20211109";
298
298
  /* @internal */
299
299
  var Comparison;
300
300
  (function (Comparison) {
@@ -159935,10 +159935,11 @@ var ts;
159935
159935
  }
159936
159936
  function findBaseOfDeclaration(checker, declaration, cb) {
159937
159937
  var _a;
159938
+ if (ts.hasStaticModifier(declaration))
159939
+ return;
159938
159940
  var classOrInterfaceDeclaration = ((_a = declaration.parent) === null || _a === void 0 ? void 0 : _a.kind) === 170 /* Constructor */ ? declaration.parent.parent : declaration.parent;
159939
- if (!classOrInterfaceDeclaration) {
159941
+ if (!classOrInterfaceDeclaration)
159940
159942
  return;
159941
- }
159942
159943
  return ts.firstDefined(ts.getAllSuperTypeNodes(classOrInterfaceDeclaration), function (superTypeNode) {
159943
159944
  var symbol = checker.getPropertyOfType(checker.getTypeAtLocation(superTypeNode), declaration.symbol.name);
159944
159945
  return symbol ? cb(symbol) : undefined;
@@ -294,7 +294,7 @@ var ts;
294
294
  // The following is baselined as a literal template type without intervention
295
295
  /** The version of the TypeScript compiler release */
296
296
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
297
- ts.version = ts.versionMajorMinor + ".0-dev.20211108";
297
+ ts.version = ts.versionMajorMinor + ".0-dev.20211109";
298
298
  /* @internal */
299
299
  var Comparison;
300
300
  (function (Comparison) {
@@ -159935,10 +159935,11 @@ var ts;
159935
159935
  }
159936
159936
  function findBaseOfDeclaration(checker, declaration, cb) {
159937
159937
  var _a;
159938
+ if (ts.hasStaticModifier(declaration))
159939
+ return;
159938
159940
  var classOrInterfaceDeclaration = ((_a = declaration.parent) === null || _a === void 0 ? void 0 : _a.kind) === 170 /* Constructor */ ? declaration.parent.parent : declaration.parent;
159939
- if (!classOrInterfaceDeclaration) {
159941
+ if (!classOrInterfaceDeclaration)
159940
159942
  return;
159941
- }
159942
159943
  return ts.firstDefined(ts.getAllSuperTypeNodes(classOrInterfaceDeclaration), function (superTypeNode) {
159943
159944
  var symbol = checker.getPropertyOfType(checker.getTypeAtLocation(superTypeNode), declaration.symbol.name);
159944
159945
  return symbol ? cb(symbol) : undefined;
@@ -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 = ts.versionMajorMinor + ".0-dev.20211108";
92
+ ts.version = ts.versionMajorMinor + ".0-dev.20211109";
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.6.0-dev.20211108",
5
+ "version": "4.6.0-dev.20211109",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [