From ea4a352ee6dea4aadd23c13c9889fec52aa7df0b Mon Sep 17 00:00:00 2001 From: Martin Rojo <9095332+shmarts@users.noreply.github.com> Date: Sat, 5 Oct 2019 03:12:51 +0100 Subject: [PATCH] fix(typo): transformSlotOutlet name correction (#83) --- packages/compiler-core/__tests__/transform.spec.ts | 2 +- .../__tests__/transforms/transformSlotOutlet.spec.ts | 2 +- packages/compiler-core/__tests__/transforms/vFor.spec.ts | 2 +- packages/compiler-core/__tests__/transforms/vIf.spec.ts | 2 +- packages/compiler-core/src/index.ts | 2 +- .../{transfromSlotOutlet.ts => transformSlotOutlet.ts} | 0 6 files changed, 5 insertions(+), 5 deletions(-) rename packages/compiler-core/src/transforms/{transfromSlotOutlet.ts => transformSlotOutlet.ts} (100%) diff --git a/packages/compiler-core/__tests__/transform.spec.ts b/packages/compiler-core/__tests__/transform.spec.ts index e2d52fe4..8851bb4d 100644 --- a/packages/compiler-core/__tests__/transform.spec.ts +++ b/packages/compiler-core/__tests__/transform.spec.ts @@ -19,7 +19,7 @@ import { import { transformIf } from '../src/transforms/vIf' import { transformFor } from '../src/transforms/vFor' import { transformElement } from '../src/transforms/transformElement' -import { transformSlotOutlet } from '../src/transforms/transfromSlotOutlet' +import { transformSlotOutlet } from '../src/transforms/transformSlotOutlet' import { optimizeText } from '../src/transforms/optimizeText' describe('compiler: transform', () => { diff --git a/packages/compiler-core/__tests__/transforms/transformSlotOutlet.spec.ts b/packages/compiler-core/__tests__/transforms/transformSlotOutlet.spec.ts index bad59c46..2a71190b 100644 --- a/packages/compiler-core/__tests__/transforms/transformSlotOutlet.spec.ts +++ b/packages/compiler-core/__tests__/transforms/transformSlotOutlet.spec.ts @@ -11,7 +11,7 @@ import { transformOn } from '../../src/transforms/vOn' import { transformBind } from '../../src/transforms/vBind' import { transformExpression } from '../../src/transforms/transformExpression' import { RENDER_SLOT } from '../../src/runtimeConstants' -import { transformSlotOutlet } from '../../src/transforms/transfromSlotOutlet' +import { transformSlotOutlet } from '../../src/transforms/transformSlotOutlet' function parseWithSlots(template: string, options: CompilerOptions = {}) { const ast = parse(template) diff --git a/packages/compiler-core/__tests__/transforms/vFor.spec.ts b/packages/compiler-core/__tests__/transforms/vFor.spec.ts index 0bb39161..8a3547b2 100644 --- a/packages/compiler-core/__tests__/transforms/vFor.spec.ts +++ b/packages/compiler-core/__tests__/transforms/vFor.spec.ts @@ -4,7 +4,7 @@ import { transformIf } from '../../src/transforms/vIf' import { transformFor } from '../../src/transforms/vFor' import { transformBind } from '../../src/transforms/vBind' import { transformElement } from '../../src/transforms/transformElement' -import { transformSlotOutlet } from '../../src/transforms/transfromSlotOutlet' +import { transformSlotOutlet } from '../../src/transforms/transformSlotOutlet' import { transformExpression } from '../../src/transforms/transformExpression' import { ForNode, diff --git a/packages/compiler-core/__tests__/transforms/vIf.spec.ts b/packages/compiler-core/__tests__/transforms/vIf.spec.ts index c9d8c551..778e01eb 100644 --- a/packages/compiler-core/__tests__/transforms/vIf.spec.ts +++ b/packages/compiler-core/__tests__/transforms/vIf.spec.ts @@ -2,7 +2,7 @@ import { parse } from '../../src/parse' import { transform } from '../../src/transform' import { transformIf } from '../../src/transforms/vIf' import { transformElement } from '../../src/transforms/transformElement' -import { transformSlotOutlet } from '../../src/transforms/transfromSlotOutlet' +import { transformSlotOutlet } from '../../src/transforms/transformSlotOutlet' import { IfNode, NodeTypes, diff --git a/packages/compiler-core/src/index.ts b/packages/compiler-core/src/index.ts index 1ef90fa7..820631ca 100644 --- a/packages/compiler-core/src/index.ts +++ b/packages/compiler-core/src/index.ts @@ -6,7 +6,7 @@ import { isString } from '@vue/shared' import { transformIf } from './transforms/vIf' import { transformFor } from './transforms/vFor' import { transformExpression } from './transforms/transformExpression' -import { transformSlotOutlet } from './transforms/transfromSlotOutlet' +import { transformSlotOutlet } from './transforms/transformSlotOutlet' import { transformElement } from './transforms/transformElement' import { transformOn } from './transforms/vOn' import { transformBind } from './transforms/vBind' diff --git a/packages/compiler-core/src/transforms/transfromSlotOutlet.ts b/packages/compiler-core/src/transforms/transformSlotOutlet.ts similarity index 100% rename from packages/compiler-core/src/transforms/transfromSlotOutlet.ts rename to packages/compiler-core/src/transforms/transformSlotOutlet.ts