@typescript-eslint/typescript-estree 8.46.2-alpha.1 → 8.46.2-alpha.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.
@@ -260,7 +260,7 @@ function checkModifiers(node) {
260
260
  }
261
261
  // There are more cases in `checkGrammarObjectLiteralExpression` in TypeScript.
262
262
  // We may add more validations for them here in the future.
263
- if (modifier.kind === SyntaxKind.AbstractKeyword &&
263
+ if (modifier.kind !== SyntaxKind.AsyncKeyword &&
264
264
  node.kind === SyntaxKind.MethodDeclaration &&
265
265
  node.parent.kind === SyntaxKind.ObjectLiteralExpression) {
266
266
  throwError(modifier, `'${ts.tokenToString(modifier.kind)}' modifier cannot be used here.`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/typescript-estree",
3
- "version": "8.46.2-alpha.1",
3
+ "version": "8.46.2-alpha.2",
4
4
  "description": "A parser that converts TypeScript source code into an ESTree compatible form",
5
5
  "files": [
6
6
  "dist",
@@ -52,10 +52,10 @@
52
52
  "typecheck": "yarn run -BT nx typecheck"
53
53
  },
54
54
  "dependencies": {
55
- "@typescript-eslint/project-service": "8.46.2-alpha.1",
56
- "@typescript-eslint/tsconfig-utils": "8.46.2-alpha.1",
57
- "@typescript-eslint/types": "8.46.2-alpha.1",
58
- "@typescript-eslint/visitor-keys": "8.46.2-alpha.1",
55
+ "@typescript-eslint/project-service": "8.46.2-alpha.2",
56
+ "@typescript-eslint/tsconfig-utils": "8.46.2-alpha.2",
57
+ "@typescript-eslint/types": "8.46.2-alpha.2",
58
+ "@typescript-eslint/visitor-keys": "8.46.2-alpha.2",
59
59
  "debug": "^4.3.4",
60
60
  "fast-glob": "^3.3.2",
61
61
  "is-glob": "^4.0.3",