Skip to content

Commit

Permalink
fix(compiler): relax compiler settings for capnpc-js (#84)
Browse files Browse the repository at this point in the history
This glosses over the fact that the compiler will always emit `import * as capnp from 'capnp-ts';` regardless of whether that import is actually used. Unclear if that import statement is the way to go in the future, vs. just importing the parts that are actually needed for the schema.

Closes #83.
  • Loading branch information
jdiaz5513 authored Nov 21, 2017
1 parent d1f291c commit 5e89626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/capnpc-js/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const COMPILE_OPTIONS: ts.CompilerOptions = {
noEmitOnError: true,
noFallthroughCasesInSwitch: true,
noImplicitReturns: true,
noUnusedLocals: true,
noUnusedParameters: true,
noUnusedLocals: false,
noUnusedParameters: false,
preserveConstEnums: true,
removeComments: false,
sourceMap: false,
Expand Down

0 comments on commit 5e89626

Please sign in to comment.