Skip to content

Commit 59e74b5

Browse files
committed
fix(miniprogram-typescript): remove some ts errors
1 parent 27fda9f commit 59e74b5

File tree

1 file changed

+5
-1
lines changed
  • glass-easel-miniprogram-typescript/src

1 file changed

+5
-1
lines changed

glass-easel-miniprogram-typescript/src/server.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,11 @@ export class Server {
177177
readFile: tsc.sys.readFile,
178178
},
179179
path.dirname(configPath),
180-
{ noEmit: true },
180+
{
181+
noEmit: true,
182+
noUnusedLocals: false,
183+
noUnusedParameters: false,
184+
},
181185
// undefined,
182186
// undefined,
183187
// [{ extension: '.wxml', isMixedContent: true, scriptKind: ts.ScriptKind.TS }],

0 commit comments

Comments
 (0)