Skip to content

Commit

Permalink
Fix TS compiler errors in lib/macro.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
zenflow committed Oct 28, 2020
1 parent e87d585 commit b1a3d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/macro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const macroHandler: MacroHandler = (params) => {
if (!somePath) {
return;
}
const programPath = somePath.findParent((path) => path.isProgram());
const programPath = somePath.findParent((path) => path.isProgram())!;

const registry = new RequirementRegistry();
const toReplace = [
Expand Down

0 comments on commit b1a3d31

Please sign in to comment.