1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ import { restartableTask } from 'ember-concurrency';
19
19
import { consume } from ' ember-provide-consume-context' ;
20
20
import {
21
21
type ResolvedCodeRef ,
22
- type Loader ,
23
22
CardURLContextName ,
24
23
} from ' @cardstack/runtime-common' ;
25
24
import { not } from ' @cardstack/boxel-ui/helpers' ;
@@ -167,14 +166,3 @@ function maybeSerializeCodeRef(
167
166
}
168
167
return undefined ;
169
168
}
170
-
171
- function myLoader(): Loader {
172
- // we know this code is always loaded by an instance of our Loader, which sets
173
- // import.meta.loader.
174
-
175
- // When type-checking realm-server, tsc sees this file and thinks
176
- // it will be transpiled to CommonJS and so it complains about this line. But
177
- // this file is always loaded through our loader and always has access to import.meta.
178
- // @ts-ignore
179
- return (import .meta as any ).loader ;
180
- }
0 commit comments