Skip to content

Commit

Permalink
Fix tslint
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnpnl committed Mar 3, 2018
1 parent 5a25a37 commit 63786af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transpile-if-ts.ts
Expand Up @@ -8,7 +8,7 @@ export function transpileIfTypescript(
rootDir: string = '',
) {
if (path && (path.endsWith('.tsx') || path.endsWith('.ts'))) {
let transpiled = tsc.transpileModule(contents, {
const transpiled = tsc.transpileModule(contents, {
compilerOptions: getTSConfig(
config || mockGlobalTSConfigSchema(global),
rootDir,
Expand Down

0 comments on commit 63786af

Please sign in to comment.