File tree Expand file tree Collapse file tree
unpublished-development-types
fixtures/explicit-imports
my-addon/unpublished-development-types Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 "@embroider/vite" : " ^1.1.5" ,
4949 "@eslint/js" : " ^9.17.0" ,
5050 "@glimmer/component" : " ^2.0.0" ,<% if (typescript) { %>
51- "@glint/ember-tsc" : " ^1.0.0 " ,
52- "@glint/template" : " ^1.6.0 " ,
51+ "@glint/ember-tsc" : " ^1.0.3 " ,
52+ "@glint/template" : " ^1.6.1 " ,
5353 "@glint/tsserver-plugin" : " ^2.0.0" ,<% } %>
5454 "@rollup/plugin-babel" : " ^6.0.4" ,<% if (typescript) { %>
5555 "@types/qunit" : " ^2.19.12" ,<% } %>
Original file line number Diff line number Diff line change 1- // Add any types here that you need for local development only.
2- // These will *not* be published as part of your addon, so be careful that your published code does not rely on them!
3-
4- import '@glint/environment-ember-loose' ;
5- import '@glint/environment-ember-template-imports' ;
6-
7- // Uncomment if you need to support consuming projects in loose mode
8- //
9- // declare module '@glint/environment-ember-loose/registry' {
10- // export default interface Registry {
11- // // Add any registry entries from other addons here that your addon itself uses (in non-strict mode templates)
12- // // See https://typed-ember.gitbook.io/glint/using-glint/ember/using-addons
13- // }
14- // }
Original file line number Diff line number Diff line change 1- // Add any types here that you need for local development only.
2- // These will *not* be published as part of your addon, so be careful that your published code does not rely on them!
3-
4- import '@glint/environment-ember-loose' ;
5-
6- import { default as MyRegistry } from '../src/template-registry' ;
7-
8- declare module '@glint/environment-ember-loose/registry' {
9- // Remove this once entries have been added! 👇
10- // eslint-disable-next-line @typescript-eslint/no-empty-interface
11- export default interface Registry extends MyRegistry {
12- // Add any registry entries from other addons here that your addon itself uses (in non-strict mode templates)
13- // See https://typed-ember.gitbook.io/glint/using-glint/ember/using-addons
14- }
15- }
Original file line number Diff line number Diff line change 1- import '@glint/environment-ember-loose' ;
2- import '@glint/environment-ember-template-imports' ;
3-
4- import { default as MyAddonRegistry } from 'my-addon/template-registry' ;
5-
6- declare module '@glint/environment-ember-loose/registry' {
7- // eslint-disable-next-line @typescript-eslint/no-empty-object-type
8- export default interface Registry extends MyAddonRegistry { }
9- }
Original file line number Diff line number Diff line change @@ -124,10 +124,10 @@ for (let packageManager of SUPPORTED_PACKAGE_MANAGERS) {
124124 "declarations/index.d.ts.map",
125125 "declarations/template-registry.d.ts",
126126 "declarations/template-registry.d.ts.map",
127- "declarations/components/another-gts.gts. d.ts",
128- "declarations/components/another-gts.gts. d.ts.map",
129- "declarations/components/template-import.gts. d.ts",
130- "declarations/components/template-import.gts. d.ts.map",
127+ "declarations/components/another-gts.d.ts",
128+ "declarations/components/another-gts.d.ts.map",
129+ "declarations/components/template-import.d.ts",
130+ "declarations/components/template-import.d.ts.map",
131131 "declarations/services/example.d.ts",
132132 "declarations/services/example.d.ts.map",
133133 ]
You can’t perform that action at this time.
0 commit comments