Skip to content

Commit

Permalink
Update installation.md
Browse files Browse the repository at this point in the history
Removes a blurb that was only relevant in the now-removed GlimmerX environment (these sorts of warnings were only possible using GlimmerX's `hbs` template tags)
  • Loading branch information
machty authored Jun 26, 2024
1 parent ff9ea6c commit ac03de6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/ember/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ Finally, ensure you've added the following statement somewhere in your project's
import '@glint/environment-ember-loose';
```

You may also choose to disable TypeScript's "unused symbol" warnings in your editor, since Glint will flag any symbols that are actually unused, while `tsserver` won't understand any symbol usage that only occurs in templates.

{% hint style="info" %}

When typechecking with vanilla `tsc` or your editor's `tsserver` integration, adding this side-effect `import` statement ensures that TypeScript is aware of the Glint-specific types provided by the environment package. Without this line, you may find that vanilla TypeScript produces spurious errors.
Expand Down

0 comments on commit ac03de6

Please sign in to comment.