Skip to content

Commit 50f1327

Browse files
committed
chore: avoid api-extractor warnings
1 parent d70fd8d commit 50f1327

File tree

5 files changed

+25
-6
lines changed

5 files changed

+25
-6
lines changed

api-extractor.json

+16
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,22 @@
4444

4545
"tsdoc-undefined-tag": {
4646
"logLevel": "none"
47+
},
48+
49+
"tsdoc-escape-greater-than": {
50+
"logLevel": "none"
51+
},
52+
53+
"tsdoc-malformed-inline-tag": {
54+
"logLevel": "none"
55+
},
56+
57+
"tsdoc-escape-right-brace": {
58+
"logLevel": "none"
59+
},
60+
61+
"tsdoc-unnecessary-backslash": {
62+
"logLevel": "none"
4763
}
4864
}
4965
}

packages/runtime-core/src/apiCreateApp.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export interface AppConfig {
8383
) => void
8484

8585
/**
86-
* Options to pass to @vue/compiler-dom.
86+
* Options to pass to `@vue/compiler-dom`.
8787
* Only supported in runtime compiler build.
8888
*/
8989
compilerOptions: RuntimeCompilerOptions

packages/runtime-core/src/compat/global.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export type CompatVue = Pick<App, 'version' | 'component' | 'directive'> & {
8888
compile(template: string): RenderFunction
8989

9090
/**
91-
* @deprecated
91+
* @deprecated Vue 3 no longer supports extending constructors.
9292
*/
9393
extend: (options?: ComponentOptions) => CompatVue
9494
/**

packages/shared/src/domAttrConfig.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const isBooleanAttr = /*#__PURE__*/ makeMap(
2626

2727
/**
2828
* Boolean attributes should be included if the value is truthy or ''.
29-
* e.g. <select multiple> compiles to { multiple: '' }
29+
* e.g. `<select multiple>` compiles to `{ multiple: '' }`
3030
*/
3131
export function includeBooleanAttr(value: unknown): boolean {
3232
return !!value || value === ''

packages/shared/src/patchFlags.ts

+6-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@ export const enum PatchFlags {
3131
* Indicates an element with dynamic style
3232
* The compiler pre-compiles static string styles into static objects
3333
* + detects and hoists inline static objects
34-
* e.g. style="color: red" and :style="{ color: 'red' }" both get hoisted as
35-
* const style = { color: 'red' }
36-
* render() { return e('div', { style }) }
34+
* e.g. `style="color: red"` and `:style="{ color: 'red' }"` both get hoisted
35+
* as:
36+
* ```js
37+
* const style = { color: 'red' }
38+
* render() { return e('div', { style }) }
39+
* ```
3740
*/
3841
STYLE = 1 << 2,
3942

0 commit comments

Comments
 (0)