Skip to content

Commit 73d5124

Browse files
committed
fix test
1 parent 9c690d5 commit 73d5124

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

test-projects/gts/result.txt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call) at src/await.gts:29:13:
1+
error: Unsafe call of a(n) `error` type typed value (@typescript-eslint/no-unsafe-call) at src/await.gts:29:13:
22
27 | let promise = args.promise
33
28 | .then((resolved) => {
44
> 29 | if (isDestroying(this) || isDestroyed(this)) return;
@@ -8,7 +8,7 @@ error: Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call) a
88
32 | })
99

1010

11-
error: Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call) at src/await.gts:29:35:
11+
error: Unsafe call of a(n) `error` type typed value (@typescript-eslint/no-unsafe-call) at src/await.gts:29:35:
1212
27 | let promise = args.promise
1313
28 | .then((resolved) => {
1414
> 29 | if (isDestroying(this) || isDestroyed(this)) return;
@@ -18,7 +18,7 @@ error: Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call) a
1818
32 | })
1919

2020

21-
error: Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call) at src/await.gts:34:13:
21+
error: Unsafe call of a(n) `error` type typed value (@typescript-eslint/no-unsafe-call) at src/await.gts:34:13:
2222
32 | })
2323
33 | .catch((error) => {
2424
> 34 | if (isDestroying(this) || isDestroyed(this)) return;
@@ -28,7 +28,7 @@ error: Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call) a
2828
37 | this.resolved = undefined;
2929

3030

31-
error: Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call) at src/await.gts:34:35:
31+
error: Unsafe call of a(n) `error` type typed value (@typescript-eslint/no-unsafe-call) at src/await.gts:34:35:
3232
32 | })
3333
33 | .catch((error) => {
3434
> 34 | if (isDestroying(this) || isDestroyed(this)) return;
@@ -88,43 +88,43 @@ error: Non-translated string used (ember-template-lint/no-bare-strings) at src/c
8888
42 | </:options>
8989

9090

91-
error: Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment) at src/destructure-to-array.gts:5:11:
91+
error: Unsafe assignment of an error typed value (@typescript-eslint/no-unsafe-assignment) at src/destructure-to-array.gts:5:11:
9292
3 | export class DeconstructArray extends Component<unknown> {
9393
4 | testFunction = async () => {
9494
> 5 | const [, ...remaining] = await Promise.all([1, 2, 3]);
9595
| ^
9696
6 | return remaining;
9797
7 | }
98-
8 |
98+
8 |
9999

100100

101-
error: Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call) at src/destructure-to-array.gts:5:36:
101+
error: Unsafe call of a(n) `error` type typed value (@typescript-eslint/no-unsafe-call) at src/destructure-to-array.gts:5:36:
102102
3 | export class DeconstructArray extends Component<unknown> {
103103
4 | testFunction = async () => {
104104
> 5 | const [, ...remaining] = await Promise.all([1, 2, 3]);
105105
| ^
106106
6 | return remaining;
107107
7 | }
108-
8 |
108+
8 |
109109

110110

111-
error: Unsafe member access .all on an `any` value (@typescript-eslint/no-unsafe-member-access) at src/destructure-to-array.gts:5:44:
111+
error: Unsafe member access .all on an `error` typed value (@typescript-eslint/no-unsafe-member-access) at src/destructure-to-array.gts:5:44:
112112
3 | export class DeconstructArray extends Component<unknown> {
113113
4 | testFunction = async () => {
114114
> 5 | const [, ...remaining] = await Promise.all([1, 2, 3]);
115115
| ^
116116
6 | return remaining;
117117
7 | }
118-
8 |
118+
8 |
119119

120120

121-
error: Unsafe return of an `any` typed value (@typescript-eslint/no-unsafe-return) at src/destructure-to-array.gts:6:5:
121+
error: Unsafe return of a value of type error (@typescript-eslint/no-unsafe-return) at src/destructure-to-array.gts:6:5:
122122
4 | testFunction = async () => {
123123
5 | const [, ...remaining] = await Promise.all([1, 2, 3]);
124124
> 6 | return remaining;
125125
| ^
126126
7 | }
127-
8 |
127+
8 |
128128
9 | <template>
129129

130130

@@ -178,7 +178,7 @@ error: Non-translated string used (ember-template-lint/no-bare-strings) at src/f
178178
29 | </nav>
179179

180180

181-
error: Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment) at src/menu.gts:32:7:
181+
error: Unsafe assignment of an error typed value (@typescript-eslint/no-unsafe-assignment) at src/menu.gts:32:7:
182182
30 | </template>;
183183
31 |
184184
> 32 | const DefaultTrigger = <template>
@@ -188,7 +188,7 @@ error: Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignm
188188
35 | class="text-black rounded border bg-white px-2 py-1 -my-1 text-left transition ease-in-out duration-150 sm:text-sm drop-shadow-md hover:drop-shadow-xl focus:ring-4 focus-visible:outline-none ring-ember-brand focus:outline-none"
189189

190190

191-
error: Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment) at src/placeholder.gts:9:14:
191+
error: Unsafe assignment of an error typed value (@typescript-eslint/no-unsafe-assignment) at src/placeholder.gts:9:14:
192192
7 | const orGlimdown = (format: string | undefined) => format || 'glimdown';
193193
8 |
194194
> 9 | export const Placeholder = <template>

0 commit comments

Comments
 (0)