Skip to content

Commit

Permalink
Add typings
Browse files Browse the repository at this point in the history
  • Loading branch information
dlackty committed Aug 28, 2023
1 parent 6d4bed5 commit f4731f8
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 f4731f8

Please sign in to comment.