Skip to content

Commit

Permalink
MapboxVectorTileCatalogItem: move JSDoc
Browse files Browse the repository at this point in the history
Putting the JSDoc after the decorator
but before the rest of the declaration
confuses more recent versions of
Prettier, and possibly other tools as
well. Move the decorator next to
the declaration.
  • Loading branch information
pjonsson committed Jan 4, 2025
1 parent 4841217 commit 2a03fe0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,11 @@ class MapboxVectorTileCatalogItem extends MappableMixin(
}
}

@computed
/** Convert traits into paint rules:
* - `layer` and `fillColor`/`lineColor` into simple rules
* - `parsedJsonStyle`
*/
@computed
get paintRules(): PaintRule[] {
const rules: PaintRule[] = [];

Expand Down

0 comments on commit 2a03fe0

Please sign in to comment.