chore: avoid api-extractor warnings
This commit is contained in:
parent
d70fd8d36b
commit
50f13278f9
@ -44,6 +44,22 @@
|
|||||||
|
|
||||||
"tsdoc-undefined-tag": {
|
"tsdoc-undefined-tag": {
|
||||||
"logLevel": "none"
|
"logLevel": "none"
|
||||||
|
},
|
||||||
|
|
||||||
|
"tsdoc-escape-greater-than": {
|
||||||
|
"logLevel": "none"
|
||||||
|
},
|
||||||
|
|
||||||
|
"tsdoc-malformed-inline-tag": {
|
||||||
|
"logLevel": "none"
|
||||||
|
},
|
||||||
|
|
||||||
|
"tsdoc-escape-right-brace": {
|
||||||
|
"logLevel": "none"
|
||||||
|
},
|
||||||
|
|
||||||
|
"tsdoc-unnecessary-backslash": {
|
||||||
|
"logLevel": "none"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -83,7 +83,7 @@ export interface AppConfig {
|
|||||||
) => void
|
) => void
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Options to pass to @vue/compiler-dom.
|
* Options to pass to `@vue/compiler-dom`.
|
||||||
* Only supported in runtime compiler build.
|
* Only supported in runtime compiler build.
|
||||||
*/
|
*/
|
||||||
compilerOptions: RuntimeCompilerOptions
|
compilerOptions: RuntimeCompilerOptions
|
||||||
|
@ -88,7 +88,7 @@ export type CompatVue = Pick<App, 'version' | 'component' | 'directive'> & {
|
|||||||
compile(template: string): RenderFunction
|
compile(template: string): RenderFunction
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated
|
* @deprecated Vue 3 no longer supports extending constructors.
|
||||||
*/
|
*/
|
||||||
extend: (options?: ComponentOptions) => CompatVue
|
extend: (options?: ComponentOptions) => CompatVue
|
||||||
/**
|
/**
|
||||||
|
@ -26,7 +26,7 @@ export const isBooleanAttr = /*#__PURE__*/ makeMap(
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Boolean attributes should be included if the value is truthy or ''.
|
* Boolean attributes should be included if the value is truthy or ''.
|
||||||
* e.g. <select multiple> compiles to { multiple: '' }
|
* e.g. `<select multiple>` compiles to `{ multiple: '' }`
|
||||||
*/
|
*/
|
||||||
export function includeBooleanAttr(value: unknown): boolean {
|
export function includeBooleanAttr(value: unknown): boolean {
|
||||||
return !!value || value === ''
|
return !!value || value === ''
|
||||||
|
@ -31,9 +31,12 @@ export const enum PatchFlags {
|
|||||||
* Indicates an element with dynamic style
|
* Indicates an element with dynamic style
|
||||||
* The compiler pre-compiles static string styles into static objects
|
* The compiler pre-compiles static string styles into static objects
|
||||||
* + detects and hoists inline static objects
|
* + detects and hoists inline static objects
|
||||||
* e.g. style="color: red" and :style="{ color: 'red' }" both get hoisted as
|
* e.g. `style="color: red"` and `:style="{ color: 'red' }"` both get hoisted
|
||||||
|
* as:
|
||||||
|
* ```js
|
||||||
* const style = { color: 'red' }
|
* const style = { color: 'red' }
|
||||||
* render() { return e('div', { style }) }
|
* render() { return e('div', { style }) }
|
||||||
|
* ```
|
||||||
*/
|
*/
|
||||||
STYLE = 1 << 2,
|
STYLE = 1 << 2,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user