-
Notifications
You must be signed in to change notification settings - Fork 13
Remove rollup-plugin-ts #203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
5f86b6d to
a2641ca
Compare
3199e2b to
9a1d914
Compare
| interface ElementHelperSignature<T extends string> { | ||
| Args: { | ||
| Positional: [name: T]; | ||
| }; | ||
| Return: ComponentLike<{ | ||
| Blocks: { default: [] }; | ||
| Element: T extends keyof HTMLElementTagNameMap | ||
| ? HTMLElementTagNameMap[T] | ||
| : Element; | ||
| }>; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @@ -1,4 +1,3 @@ | |||
| {{! @glint-ignore: ember-element-helper needs to provide Glint signature }} | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks like a bug
specifically, if I set
noEmitOnError: false, declarations are emittedI'm guessing it happens to work with
--buildbecause that will always emit declarations, regardless of errors (because--buildprioritizes having declarations available for your other project references)ah
it's because of the
@glint-ignorehere
https://github.com/ijlee2/ember-container-query/blob/4.0.4/ember-container-query/src/components/container-query.hbs#L1the bug appears to be that TS internally is counting that as an error that triggers
noEmitOnErrorbehaviorif I add an entry for
elementin the registry inunpublished-development-types, everything works
Description
This pull request checks the solution from embroider-build/addon-blueprint#136. It can also serve as a migration guide for v2 addons that use Glint.