diff --git a/src/enum.ts b/src/enum.ts index 1716ad6..b9d4501 100644 --- a/src/enum.ts +++ b/src/enum.ts @@ -2,4 +2,3 @@ export enum Enum { A, B, C } - diff --git a/src/index.ts b/src/index.ts index 292d661..1523806 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,6 @@ import { Enum } from './enum' -// doc-comment +// doc-comment :D export function func(en: Enum) { switch (en) { case Enum.A: func(Enum.B); break; diff --git a/tsconfig.json b/tsconfig.json index e998c7d..b3c928e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,13 +1,14 @@ { "compilerOptions": { - "target": "es5", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ - "module": "commonjs", /* Specify what module code is generated. */ - "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */ - "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ - "strict": true, /* Enable all strict type-checking options. */ - "skipLibCheck": true /* Skip type checking all .d.ts files. */ + "target": "es5", + "module": "commonjs", + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "strict": true, + "skipLibCheck": true }, "include": [ "src" ] -} \ No newline at end of file +} +