Skip to content

Commit

Permalink
Merge pull request #71 from dlackty/ts
Browse files Browse the repository at this point in the history
Add TypeScript typings
  • Loading branch information
zuchka authored Aug 2, 2024
2 parents b770b23 + f4731f8 commit 1b91c53
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
declare module "remove-markdown" {
export function removeMd(md: string, options?: {
stripListLeaders?: boolean;
listUnicodeChar?: string;
gfm?: boolean;
useImgAltText: boolean;
abbr?: boolean;
replaceLinksWithURL?: boolean;
htmlTagsToSkip?: string[];
}): string;

export = removeMd;
}

0 comments on commit 1b91c53

Please sign in to comment.