Skip to content

Commit

Permalink
Add type check to ensure switch is exhaustive
Browse files Browse the repository at this point in the history
  • Loading branch information
grrowl committed Jan 7, 2024
1 parent c8b94d8 commit 81fc78e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/jsDocTags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,11 @@ export function getJSDocTags(nodeType: ts.Node, sourceFile: ts.SourceFile) {
jsDocTags[tagName] = tag.comment;
}
break;
case "elementDescription":
case "strict":
break;
default:
tagName satisfies never;
}
});
});
Expand Down

0 comments on commit 81fc78e

Please sign in to comment.