1
- /** eslint-disable @typescript-eslint/ban- ts-comment */
1
+ // @ ts-ignore - I don't want to deal with DT/native type compatibility here
2
2
import { cached , tracked } from ' @glimmer/tracking' ;
3
3
import { render , settled } from ' @ember/test-helpers' ;
4
4
import { module , test } from ' qunit' ;
@@ -17,7 +17,7 @@ module('RAW', function (hooks) {
17
17
18
18
compatOwner .setOwner (parent , this .owner );
19
19
20
- // @ts-expect-error
20
+ // @ts-expect-error - types are a lie due to decorators
21
21
let instance = thing .create ();
22
22
23
23
instance .link (parent );
@@ -28,7 +28,7 @@ module('RAW', function (hooks) {
28
28
let thing = resource (() => 2 );
29
29
30
30
assert .throws (() => {
31
- // @ts-expect-error
31
+ // @ts-expect-error - types are a lie due to decorators
32
32
let instance = thing .create ();
33
33
34
34
instance .current ;
@@ -39,7 +39,7 @@ module('RAW', function (hooks) {
39
39
let thing = resource (() => 2 );
40
40
41
41
assert .throws (() => {
42
- // @ts-expect-error
42
+ // @ts-expect-error - types are a lie due to decorators
43
43
let instance = thing .create ();
44
44
45
45
instance .link ({});
@@ -60,7 +60,7 @@ module('RAW Rendering', function (hooks) {
60
60
61
61
@cached
62
62
get thing() {
63
- // @ts-expect-error
63
+ // @ts-expect-error - types are a lie due to decorators
64
64
let instance = this .#thing .create ();
65
65
66
66
instance .link (this );
0 commit comments