Skip to content

Commit

Permalink
Merge pull request #82 from AviVahl/main
Browse files Browse the repository at this point in the history
fix: correct module hint of built-in typescript definition
  • Loading branch information
zuchka authored Sep 1, 2024
2 parents ee995d4 + efe8146 commit 15af023
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
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;
declare function removeMd(md: string, options?: {
stripListLeaders?: boolean;
listUnicodeChar?: string;
gfm?: boolean;
useImgAltText: boolean;
abbr?: boolean;
replaceLinksWithURL?: boolean;
htmlTagsToSkip?: string[];
}): string;

export = removeMd;
}
export = removeMd;

0 comments on commit 15af023

Please sign in to comment.