Skip to content

Commit

Permalink
fix(transformer): 修复错误类型
Browse files Browse the repository at this point in the history
  • Loading branch information
yuche authored and luckyadam committed Dec 31, 2019
1 parent 1a5a903 commit f012d26
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/taro-transformer-wx/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,7 @@ export interface TransformResult extends Result {
name: string,
path: string,
type: string
}[],
componentProperies: string[]
}[]
}

export interface TransformOptions extends Options {
Expand Down Expand Up @@ -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) {
//
}
Expand Down

0 comments on commit f012d26

Please sign in to comment.