From f012d261aa2afd93efb448e214b52a315d85c56d Mon Sep 17 00:00:00 2001 From: yuche Date: Mon, 17 Jun 2019 19:06:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(transformer):=20=E4=BF=AE=E5=A4=8D=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro-transformer-wx/src/index.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/taro-transformer-wx/src/index.ts b/packages/taro-transformer-wx/src/index.ts index f6cea4bae831..b0d10f199ea6 100644 --- a/packages/taro-transformer-wx/src/index.ts +++ b/packages/taro-transformer-wx/src/index.ts @@ -200,8 +200,7 @@ export interface TransformResult extends Result { name: string, path: string, type: string - }[], - componentProperies: string[] + }[] } export interface TransformOptions extends Options { @@ -371,9 +370,8 @@ export default function transform (options: TransformOptions): TransformResult { code: superClass.code, isTyped: true, sourcePath: superClass.sourcePath, - outputPath: superClass.sourcePath, sourceDir: options.sourceDir - }).componentProperies + }).componentProperies! } catch (error) { // }