Skip to content

Commit

Permalink
Merge pull request #883 from supertokens/remove-ts-ignore
Browse files Browse the repository at this point in the history
Remove ts-ignore statements from the final build output
  • Loading branch information
bcbogdan authored Jan 2, 2025
2 parents e4ed150 + 5c7b114 commit 1ce24f8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ export default function remarkRemoveCodeTypeCheckingCommentsAndRows() {
const filteredLines = lines.filter((line) => {
return (
!line.includes("REMOVE_FROM_OUTPUT") &&
!line.includes("@ts-expect-error")
!line.includes("@ts-expect-error") &&
!line.includes("@ts-ignore")
);
});
const parsedLines = filteredLines.map((line) => {
Expand Down

0 comments on commit 1ce24f8

Please sign in to comment.