Skip to content

Commit ec0f2dc

Browse files
author
Steven Orvell
committed
Correct docs
1 parent 8a6dc47 commit ec0f2dc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/lib/decorators.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,6 @@ export function internalProperty(options?: InternalPropertyDeclaration) {
208208
* }
209209
* }
210210
*
211-
* // external usage
212-
* async doSomethingWithFirst() {
213-
* (await aMyElement.first).doSomething();
214-
* }
215211
*/
216212
export function query(selector: string) {
217213
return (protoOrDescriptor: Object|ClassElement,
@@ -260,6 +256,11 @@ export function query(selector: string) {
260256
* `;
261257
* }
262258
* }
259+
*
260+
* // external usage
261+
* async doSomethingWithFirst() {
262+
* (await aMyElement.first).doSomething();
263+
* }
263264
*/
264265
export function queryAsync(selector: string) {
265266
return (protoOrDescriptor: Object|ClassElement,

0 commit comments

Comments
 (0)