Skip to content

Commit 72d8ca8

Browse files
committed
fix
1 parent 50a23e8 commit 72d8ca8

File tree

4 files changed

+4
-13
lines changed

4 files changed

+4
-13
lines changed

test-packages/ts-template-imports-app/src/Greeting.gts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Component from '@glimmer/component';
2-
import { TOC } from '@ember/component/template-only';
2+
import type { TOC } from '@ember/component/template-only';
33

44
export interface GreetingSignature {
55
Args: { target: string };
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
// This test used for testing auto-imports
22

3+
// @ts-expect-error
34
let C = Greeting;

test-packages/ts-template-imports-app/src/Playground.gts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Component from '@glimmer/component';
2-
import { TOC } from '@ember/component/template-only';
2+
import type { TOC } from '@ember/component/template-only';
33
import { hash } from '@ember/helper';
4-
import { ComponentLike, ModifierLike, HelperLike } from '@glint/template';
4+
import type { ComponentLike, ModifierLike, HelperLike } from '@glint/template';
55

66
const lib = {
77
MaybeComponent: undefined as TOC<{ Args: { arg: string } }> | undefined

test-packages/ts-template-imports-app/src/normal.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)