@angular-eslint/utils 15.1.1-alpha.14 → 15.1.1-alpha.19

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.
@@ -9,24 +9,24 @@ import type { TSESLint } from '@typescript-eslint/utils';
9
9
  * See the convertAnnotatedSourceToFailureCase() utility itself for more details.
10
10
  */
11
11
  export declare const SPECIAL_UNDERLINE_CHARS: readonly ["~", "^", "#", "%", "¶", "*", "¨", "@"];
12
- declare type MultipleErrorOptions<TMessageIds extends string> = BaseErrorOptions & {
12
+ type MultipleErrorOptions<TMessageIds extends string> = BaseErrorOptions & {
13
13
  readonly messages: readonly (Message<TMessageIds> & {
14
14
  readonly char: typeof SPECIAL_UNDERLINE_CHARS[number];
15
15
  })[];
16
16
  };
17
- declare type BaseErrorOptions = {
17
+ type BaseErrorOptions = {
18
18
  readonly description: string;
19
19
  readonly annotatedSource: string;
20
20
  readonly options?: readonly unknown[];
21
21
  readonly annotatedOutput?: string;
22
22
  readonly filename?: string;
23
23
  };
24
- declare type Message<TMessageIds extends string> = {
24
+ type Message<TMessageIds extends string> = {
25
25
  readonly messageId: TMessageIds;
26
26
  readonly data?: Record<string, unknown>;
27
27
  readonly suggestions?: TSESLint.SuggestionOutput<TMessageIds>[];
28
28
  };
29
- declare type SingleErrorOptions<TMessageIds extends string> = BaseErrorOptions & Message<TMessageIds>;
29
+ type SingleErrorOptions<TMessageIds extends string> = BaseErrorOptions & Message<TMessageIds>;
30
30
  /**
31
31
  * convertAnnotatedSourceToFailureCase() provides an ergonomic way to easily write
32
32
  * expected failure cases for ESLint rules by allowing you to directly annotate the
@@ -66,11 +66,11 @@ export declare enum AngularLifecycleMethods {
66
66
  }
67
67
  export declare const OPTION_STYLE_CAMEL_CASE = "camelCase";
68
68
  export declare const OPTION_STYLE_KEBAB_CASE = "kebab-case";
69
- export declare type SelectorStyle = typeof OPTION_STYLE_CAMEL_CASE | typeof OPTION_STYLE_KEBAB_CASE;
70
- export declare type AngularClassDecoratorKeys = keyof typeof AngularClassDecorators;
71
- export declare type AngularInnerClassDecoratorKeys = Exclude<keyof typeof AngularInnerClassDecorators, number>;
72
- export declare type AngularLifecycleInterfaceKeys = keyof typeof AngularLifecycleInterfaces;
73
- export declare type AngularLifecycleMethodKeys = keyof typeof AngularLifecycleMethods;
69
+ export type SelectorStyle = typeof OPTION_STYLE_CAMEL_CASE | typeof OPTION_STYLE_KEBAB_CASE;
70
+ export type AngularClassDecoratorKeys = keyof typeof AngularClassDecorators;
71
+ export type AngularInnerClassDecoratorKeys = Exclude<keyof typeof AngularInnerClassDecorators, number>;
72
+ export type AngularLifecycleInterfaceKeys = keyof typeof AngularLifecycleInterfaces;
73
+ export type AngularLifecycleMethodKeys = keyof typeof AngularLifecycleMethods;
74
74
  export declare const angularClassDecoratorKeys: readonly ("Component" | "Directive" | "Injectable" | "NgModule" | "Pipe")[];
75
75
  export declare const angularInnerClassDecoratorKeys: readonly ("ContentChild" | "ContentChildren" | "HostBinding" | "Input" | "Output" | "ViewChild" | "ViewChildren" | "HostListener" | "Attribute" | "Host" | "Inject" | "Optional" | "Self" | "SkipSelf")[];
76
76
  export declare const angularLifecycleInterfaceKeys: readonly ("AfterContentChecked" | "AfterContentInit" | "AfterViewChecked" | "AfterViewInit" | "DoBootstrap" | "DoCheck" | "OnChanges" | "OnDestroy" | "OnInit")[];
@@ -3,10 +3,10 @@ import type { SelectorStyle } from './ast-utils';
3
3
  export declare const OPTION_TYPE_ATTRIBUTE = "attribute";
4
4
  export declare const OPTION_TYPE_ATTRS = "attrs";
5
5
  export declare const OPTION_TYPE_ELEMENT = "element";
6
- export declare type SelectorStyleOption = SelectorStyle | string;
7
- export declare type SelectorTypeOption = typeof OPTION_TYPE_ATTRIBUTE | typeof OPTION_TYPE_ELEMENT | string;
8
- export declare type SelectorTypeInternal = typeof OPTION_TYPE_ATTRS | typeof OPTION_TYPE_ELEMENT;
9
- export declare type Options = [
6
+ export type SelectorStyleOption = SelectorStyle | string;
7
+ export type SelectorTypeOption = typeof OPTION_TYPE_ATTRIBUTE | typeof OPTION_TYPE_ELEMENT | string;
8
+ export type SelectorTypeInternal = typeof OPTION_TYPE_ATTRS | typeof OPTION_TYPE_ELEMENT;
9
+ export type Options = [
10
10
  {
11
11
  readonly type: SelectorTypeOption | readonly SelectorTypeOption[];
12
12
  readonly prefix: string | readonly string[];
@@ -1,6 +1,6 @@
1
1
  import { TSESLint } from '@typescript-eslint/utils';
2
2
  declare const VALID_PARSERS: readonly ["@angular-eslint/template-parser", "@typescript-eslint/parser"];
3
- declare type RuleTesterConfig = Omit<TSESLint.RuleTesterConfig, 'parser'> & {
3
+ type RuleTesterConfig = Omit<TSESLint.RuleTesterConfig, 'parser'> & {
4
4
  parser: typeof VALID_PARSERS[number];
5
5
  };
6
6
  export declare class RuleTester extends TSESLint.RuleTester {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-eslint/utils",
3
- "version": "15.1.1-alpha.14+5148678",
3
+ "version": "15.1.1-alpha.19+61067a4",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -15,8 +15,8 @@
15
15
  "typescript": "*"
16
16
  },
17
17
  "dependencies": {
18
- "@angular-eslint/bundled-angular-compiler": "15.1.1-alpha.14+5148678",
18
+ "@angular-eslint/bundled-angular-compiler": "15.1.1-alpha.19+61067a4",
19
19
  "@typescript-eslint/utils": "5.45.1"
20
20
  },
21
- "gitHead": "5148678817a517f0dd4941bcabea390c8b9bddbe"
21
+ "gitHead": "61067a4f61fca8d3aec42dfe75d94f332214dd4d"
22
22
  }