Skip to content

Commit 3c8a2d0

Browse files
authored
Merge pull request #55 from johanrd/patch-1
Add template-registry.ts
2 parents f3a6af1 + 0deede3 commit 3c8a2d0

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed
+2-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
// Easily allow apps, which are not yet using strict mode templates, to consume your Glint types, by importing this file.
2-
// Add all your components, helpers and modifiers to the template registry here, so apps don't have to do this.
3-
// See https://typed-ember.gitbook.io/glint/environments/ember/authoring-addons
1+
import type set from './helpers/set';
42

5-
// import type MyComponent from './components/my-component';
6-
7-
// Remove this once entries have been added! 👇
8-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
93
export default interface Registry {
10-
// MyComponent: typeof MyComponent
4+
set: typeof set
115
}

0 commit comments

Comments
 (0)