Skip to content
This repository was archived by the owner on Dec 1, 2019. It is now read-only.

Commit d9a65c7

Browse files
committed
fix(*): small style fixes
1 parent de6629d commit d9a65c7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,10 @@ Directory when cache is stored.
169169

170170
Invoke glob resolver using 'filesGlob' and 'exclude' sections of `tsconfig`.
171171

172+
### skipDeclarationFilesCheck *(string) (default=fase)*
173+
174+
Skip declaration files typechecking. Use this only if you understand consequences.
175+
172176
## Compiler options
173177

174178
You can pass compiler options inside loader query string or in tsconfig file.

src/checker-runtime.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ function processCompile(payload: ICompilePayload) {
236236
let message = env.compiler.flattenDiagnosticMessageText(diagnostic.messageText, '\n');
237237
if (diagnostic.file) {
238238
let { line, character } = diagnostic.file.getLineAndCharacterOfPosition(diagnostic.start);
239-
console.error(`[${ instanceName }] ${colors.red(diagnostic.file.fileName)}:${line + 1}:${character + 1}) \n ${colors.red(message)}`);
239+
console.error(`[${ instanceName }] ${colors.red(diagnostic.file.fileName)}:${line + 1}:${character + 1} \n ${colors.red(message)}`);
240240
} else {
241241
console.error(colors.red(`[${ instanceName }] ${ message }`));
242242
}

0 commit comments

Comments
 (0)