@graphql-eslint/eslint-plugin 3.14.4-alpha-20230107211414-974c538 → 3.14.4-alpha-20230107211604-095254e
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Kind } from 'graphql';
|
2
2
|
import { GraphQLESLintRule } from '../types.cjs';
|
3
3
|
declare const ALLOWED_KINDS: readonly [Kind.OBJECT_TYPE_DEFINITION, Kind.INTERFACE_TYPE_DEFINITION, Kind.ENUM_TYPE_DEFINITION, Kind.SCALAR_TYPE_DEFINITION, Kind.INPUT_OBJECT_TYPE_DEFINITION, Kind.UNION_TYPE_DEFINITION, Kind.DIRECTIVE_DEFINITION, Kind.FIELD_DEFINITION, Kind.INPUT_VALUE_DEFINITION, Kind.ENUM_VALUE_DEFINITION, Kind.OPERATION_DEFINITION];
|
4
|
-
type AllowedKind = typeof ALLOWED_KINDS[number];
|
4
|
+
type AllowedKind = (typeof ALLOWED_KINDS)[number];
|
5
5
|
export type RuleOptions = [
|
6
6
|
{
|
7
7
|
types?: boolean;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Kind } from 'graphql';
|
2
2
|
import { GraphQLESLintRule } from '../types.js';
|
3
3
|
declare const ALLOWED_KINDS: readonly [Kind.OBJECT_TYPE_DEFINITION, Kind.INTERFACE_TYPE_DEFINITION, Kind.ENUM_TYPE_DEFINITION, Kind.SCALAR_TYPE_DEFINITION, Kind.INPUT_OBJECT_TYPE_DEFINITION, Kind.UNION_TYPE_DEFINITION, Kind.DIRECTIVE_DEFINITION, Kind.FIELD_DEFINITION, Kind.INPUT_VALUE_DEFINITION, Kind.ENUM_VALUE_DEFINITION, Kind.OPERATION_DEFINITION];
|
4
|
-
type AllowedKind = typeof ALLOWED_KINDS[number];
|
4
|
+
type AllowedKind = (typeof ALLOWED_KINDS)[number];
|
5
5
|
export type RuleOptions = [
|
6
6
|
{
|
7
7
|
types?: boolean;
|