Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx authored Jul 12, 2024
1 parent ca05ed9 commit 84189d7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,10 @@ If you need custom functionality in routes:
import RoutableComponentRoute from "ember-routable-component";
import Component from "@glimmer/component";
interface MyRouteSignature {
Args: {
model: string;
}
class MyController extends Controller<string> {
}
class MyRouteComponent extends Component<MyRouteSignature> {
class MyRouteComponent extends Component<MyController> {
<template>
Glint knows this is a string: {{@model}}
</template>
Expand Down

0 comments on commit 84189d7

Please sign in to comment.