Skip to content

Commit

Permalink
docs: use glimmer-ts instead of gts alias
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnaceMaes committed Jun 17, 2024
1 parent 947bb4b commit e585e18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/ember/template-imports.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ When using `ember-template-imports`, you can declare the type of a `<template>`

{% code title="app/components/shout.gts %}

```gts
```glimmer-ts
import type { TOC } from '@ember/component/template-only';
interface ShoutSignature {
Expand Down
6 changes: 3 additions & 3 deletions packages/type-test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ It's similar in concept to (and built on) the [`expect-type`][et] library.
For strict-mode templates, the `expectTypeOf` helper and `to` collection of expectations are
both directly importable from `@glint/type-test`.

```gts
```glimmer-ts
import { expectTypeOf, to } from '@glint/type-test';
let letters = ['a', 'b', 'c'];
Expand Down Expand Up @@ -72,7 +72,7 @@ typeTest(
This library provides a set of expectations to compare the type of a given value to common simple
types.

```gts
```glimmer-ts
import { expectTypeOf, to } from '@glint/type-test';
let symbolValue = Symbol('hi');
Expand All @@ -95,7 +95,7 @@ let neverValue: never = (null as never);

It also provides expectations that allow you to compare the type of one value to that of another.

```gts
```glimmer-ts
import { expectTypeOf, to } from '@glint/type-test';
let a: 'a' | 'b' = 'a';
Expand Down

0 comments on commit e585e18

Please sign in to comment.