You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
htmlSafe and isHTMLSafe used to be in @ember/string, and can still in fact be imported from there. However, the correct location is in @ember/template, a module that hasn't been typed at all. The typings for these methods are still in @ember/string
The text was updated successfully, but these errors were encountered:
Which package(s) does this problem pertain to?
What are instructions we can follow to reproduce the issue?
Now about that bug. What did you expect to see?
I expected no errors (except maybe an unused variable), and accurate typing for
isHTMLSafe
andhtmlSafe
.What happened instead?
TypeScript complains
Cannot find module '@ember/template'.
More information
htmlSafe
andisHTMLSafe
used to be in@ember/string
, and can still in fact be imported from there. However, the correct location is in@ember/template
, a module that hasn't been typed at all. The typings for these methods are still in@ember/string
The text was updated successfully, but these errors were encountered: