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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user