chore: typo fixes (#1546)

* chore: fix typos in comments/JSDoc.

* chore: fix typo in internal function name.

* chore: fix typos in test comments/descriptions/variable names.
This commit is contained in:
Felix Rilling
2020-07-08 12:32:42 +02:00
committed by GitHub
parent 9b04ea3324
commit 829b35e426
19 changed files with 27 additions and 27 deletions

View File

@@ -12,11 +12,11 @@ import {
function compileWithSrcset(template: string, options?: AssetURLOptions) {
const ast = baseParse(template)
const srcsetTrasnform = options
const srcsetTransform = options
? createSrcsetTransformWithOptions(normalizeOptions(options))
: transformSrcset
transform(ast, {
nodeTransforms: [srcsetTrasnform, transformElement],
nodeTransforms: [srcsetTransform, transformElement],
directiveTransforms: {
bind: transformBind
}