Skip to content

Commit

Permalink
syntax: top-level functions
Browse files Browse the repository at this point in the history
Co-Authored-By: Arpad Borsos <arpad.borsos@googlemail.com>
  • Loading branch information
aleclarson and Swatinem authored Jun 6, 2019
1 parent afbfb54 commit 1e0e0f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const formatHost: ts.FormatDiagnosticsHost = {
getCanonicalFileName: ts.sys.useCaseSensitiveFileNames ? f => f : f => f.toLowerCase(),
};

const getCompilerOptions = (input: string): ts.CompilerOptions => {
function getCompilerOptions(input: string): ts.CompilerOptions {
const configPath = ts.findConfigFile(path.dirname(input), ts.sys.fileExists);
if (!configPath) {
return {};
Expand Down

0 comments on commit 1e0e0f7

Please sign in to comment.