chore: typos (#1670)

This commit is contained in:
Necmettin Karakaya
2020-08-15 05:05:12 +08:00
committed by GitHub
parent 2a1b0fc6d7
commit 86187ca907
5 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -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(

View File

@@ -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()

View File

@@ -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 {}