Skip to content

Commit

Permalink
docs: fix site build
Browse files Browse the repository at this point in the history
  • Loading branch information
eonarheim committed Jan 24, 2024
1 parent 7b1c1af commit 1add2b6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions site/docs/05-entity-component-system/05.3-systems.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ For custom component types it is recommended you prefix your types, like `type =

In this example, we create a "search" type component, that searches for a target position. Notice how this component implementation is mostly data.

```ts twoslash
// @include: ex
// ---cut---
```typescript
class SearchComponent extends ex.Component<'search'> {
public readonly type = 'search'
constructor(public target: ex.Vector) {
Expand Down

0 comments on commit 1add2b6

Please sign in to comment.