From 1add2b6617cb5cd7da1d0dffb9fdb82db23b000a Mon Sep 17 00:00:00 2001 From: Erik Onarheim Date: Tue, 23 Jan 2024 19:42:29 -0600 Subject: [PATCH] docs: fix site build --- site/docs/05-entity-component-system/05.3-systems.mdx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/site/docs/05-entity-component-system/05.3-systems.mdx b/site/docs/05-entity-component-system/05.3-systems.mdx index 78745cf9e..ebc173ee6 100644 --- a/site/docs/05-entity-component-system/05.3-systems.mdx +++ b/site/docs/05-entity-component-system/05.3-systems.mdx @@ -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) {