Skip to content

Commit

Permalink
removed arrow function
Browse files Browse the repository at this point in the history
  • Loading branch information
vstirbu committed Oct 25, 2017
1 parent bff790d commit 4118a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const options = {
moduleResolution: ts.ModuleResolutionKind.NodeJs
};

const prettifyDiagnostic = diagnostic => {
function prettifyDiagnostic(diagnostic) {
const { line, character } = diagnostic.file.getLineAndCharacterOfPosition(diagnostic.start);
const messageText = ts.flattenDiagnosticMessageText(diagnostic.messageText, '\n');

Expand Down

0 comments on commit 4118a60

Please sign in to comment.