Skip to content

Commit a165260

Browse files
authored
Merge pull request #600 from evoactivity/patch-1
Update diagnosing-common-error-messages.md
2 parents e312128 + 16ffde0 commit a165260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/diagnosing-common-error-messages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ The `Globals` type represents any values that are globally in scope in a templat
115115

116116
If you see this error in a loose mode template, ensure that:
117117
- A registry entry exists for the name in question
118-
- You have imported the file where the entry is defined, if it comes from a library (i.e. `import 'ember-page-title/glint';`)
118+
- You have imported the file where the entry is defined, if it comes from a library (i.e. `import 'ember-svg-jar/glint';`)
119119
- You only have one copy of the environment package in your dependency tree
120120

121121
If you have multiple copies of the environment package in your dependencies, this can result in multiple disjoint registries, as TypeScript will maintain a separate version of the `Registry` type for each copy, meaning the registry your dependencies are adding entries to might be different than the one your application is actually using.

0 commit comments

Comments
 (0)