Skip to content

Commit

Permalink
small tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Feb 2, 2024
1 parent b1841e0 commit 0b7ee6d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions new-packages/ts-project/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export function createProject(
},
};

const api = {
return {
findMachines: (fileName: string): Range[] => {
const sourceFile = currentProgram.getSourceFile(fileName);
if (!sourceFile) {
Expand Down Expand Up @@ -293,7 +293,6 @@ export function createProject(
currentProgram = tsProgram;
},
};
return api;
}

export type XStateProject = ReturnType<typeof createProject>;
Expand Down

0 comments on commit 0b7ee6d

Please sign in to comment.