Skip to content

Commit

Permalink
Fix types (#266) (#267)
Browse files Browse the repository at this point in the history
With a small change we should be able to make the types we already
have apply to the `./helpers/svg-jar` module.

Not addressed here:

- The types claim the helper to be a class-based helper
- Do we want people to be importing from `./helpers/svg-jar` or do
  we want a re-export
- Do we want to restrict what can be imported via package.json's
  `exports` field

...etc

Basically keeping things working as it is
  • Loading branch information
chancancode authored Mar 6, 2024
1 parent 1bd359e commit b37b976
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/ember-svg-jar/addon/template-registry.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type SvgJar from './types';
import type SvgJar from './helpers/svg-jar';

export default interface EmberSvgJarRegistry {
'svg-jar': typeof SvgJar;
Expand Down

0 comments on commit b37b976

Please sign in to comment.