chore: typos (#1670)
This commit is contained in:
committed by
GitHub
parent
2a1b0fc6d7
commit
86187ca907
@@ -52,7 +52,7 @@ export interface SFCTemplateCompileOptions {
|
||||
*/
|
||||
preprocessCustomRequire?: (id: string) => any
|
||||
/**
|
||||
* Configure what tags/attributes to trasnform into asset url imports,
|
||||
* Configure what tags/attributes to transform into asset url imports,
|
||||
* or disable the transform altogether with `false`.
|
||||
*/
|
||||
transformAssetUrls?: AssetURLOptions | AssetURLTagConfig | boolean
|
||||
|
||||
@@ -5,7 +5,7 @@ const defaultExportRE = /((?:^|\n|;)\s*)export(\s*)default/
|
||||
const namedDefaultExportRE = /((?:^|\n|;)\s*)export(.+)as(\s*)default/
|
||||
|
||||
/**
|
||||
* Utility for rewriting `export default` in a script block into a varaible
|
||||
* Utility for rewriting `export default` in a script block into a variable
|
||||
* declaration so that we can inject things into it
|
||||
*/
|
||||
export function rewriteDefault(
|
||||
|
||||
@@ -105,7 +105,7 @@ function queueCb(
|
||||
} else {
|
||||
// if cb is an array, it is a component lifecycle hook which can only be
|
||||
// triggered by a job, which is already deduped in the main queue, so
|
||||
// we can skip dupicate check here to improve perf
|
||||
// we can skip duplicate check here to improve perf
|
||||
pendingQueue.push(...cb)
|
||||
}
|
||||
queueFlush()
|
||||
|
||||
2
packages/runtime-dom/types/jsx.d.ts
vendored
2
packages/runtime-dom/types/jsx.d.ts
vendored
@@ -1343,7 +1343,7 @@ declare global {
|
||||
}
|
||||
interface IntrinsicElements extends NativeElements {
|
||||
// allow arbitrary elements
|
||||
// @ts-ignore supress ts:2374 = Duplicate string index signature.
|
||||
// @ts-ignore suppress ts:2374 = Duplicate string index signature.
|
||||
[name: string]: any
|
||||
}
|
||||
interface IntrinsicAttributes extends ReservedProps {}
|
||||
|
||||
Reference in New Issue
Block a user