Skip to content

Commit 173a241

Browse files
authored
fix docs around decorator free targets
1 parent 094c492 commit 173a241

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/_guide/targets-2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,10 @@ import {controller, target, targets} from '@github/catalyst'
146146

147147
controller(class HelloWorldElement extends HTMLElement {
148148
// The same as `@target output`
149-
[target.static] = ['output']
149+
static [target.static] = ['output']
150150

151151
// The same as `@targets pages; @targets links`
152-
[targets.static] = ['pages', 'links']
152+
static [targets.static] = ['pages', 'links']
153153

154154
})
155155
```

0 commit comments

Comments
 (0)