Skip to content

Commit

Permalink
Fix extract prop for CodeListing
Browse files Browse the repository at this point in the history
  • Loading branch information
gnidan committed Jul 1, 2024
1 parent 4f1038f commit 8c63e26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/web/src/components/CodeListing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ export interface CodeListingProps
{
packageName: string;
sourcePath: string;
extract?: <N extends ts.Node>(
extract?: (
sourceFile: SourceFile,
project: Project
) => N;
) => Pick<ts.Node, "getFullText">;
}

export default function CodeListing({
Expand Down

0 comments on commit 8c63e26

Please sign in to comment.