Skip to content

Commit 2a8ec0d

Browse files
committed
docs: Fix JSDoc example formatting
1 parent e29fad1 commit 2a8ec0d

3 files changed

Lines changed: 3 additions & 8 deletions

File tree

packages/unocss/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ export interface UnoCSSOptions<Theme extends object = object> {
5252
* it from specific builds.
5353
*
5454
* @example
55-
* {undefined} ('popup',
56-
* 'options');
55+
* ['popup', 'options'];
5756
*
5857
* @default [ ]
5958
*/

packages/wxt/src/core/utils/picomatch-multiple.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ import picomatch, { PicomatchOptions } from 'picomatch';
88
* matches any of the negative patterns, it will return `false`.
99
*
1010
* @example
11-
* ```ts
1211
* picomatchMultiple('a.json', ['*.json', '!b.json']); // => true
1312
* picomatchMultiple('b.json', ['*.json', '!b.json']); // => false
14-
* ```;
1513
*/
1614
export function picomatchMultiple(
1715
search: string,

packages/wxt/src/types.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export interface InlineConfig {
6868
* 'serve')
6969
*
7070
* @example
71-
* {{browser}} -mv{{manifestVersion}}
71+
* '{{browser}}-mv{{manifestVersion}}';
7272
*
7373
* @default <span v-pre>`"{{browser}}-mv{{manifestVersion}}{{modeSuffix}}"`</span>
7474
*/
@@ -147,13 +147,11 @@ export interface InlineConfig {
147147
* Suppress specific warnings during the build process.
148148
*
149149
* @example
150-
* ```ts
151150
* export default defineConfig({
152151
* suppressWarnings: {
153152
* firefoxDataCollection: true,
154153
* },
155-
* })
156-
* ```;
154+
* });
157155
*/
158156
suppressWarnings?: {
159157
/**

0 commit comments

Comments
 (0)