File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ const hasThrowsTag = comment =>
1313 comment . includes ( '@exception' ) ;
1414
1515/**
16+ * Combine multiple types into union type string of given types.
17+ *
1618 * @param {import('typescript').TypeChecker } checker
1719 * @param {import('typescript').Type[] } types
1820 * @return {string }
@@ -52,6 +54,7 @@ const findParent = (node, callback) => {
5254/**
5355 * Collects path from node to the root node until the predicate returns true.
5456 * If the predicate is not provided, it collects the entire path to the root.
57+ *
5558 * @param {import('@typescript-eslint/utils').TSESTree.Node } node
5659 * @param {function(import('@typescript-eslint/utils').TSESTree.Node): boolean } [untilPredicate]
5760 * @returns {import('@typescript-eslint/utils').TSESTree.Node[] }
@@ -289,8 +292,9 @@ const findNodeToComment = (node) => {
289292
290293/**
291294 * Check if node is in try-catch block where exception is handled
295+ *
292296 * @param {import('@typescript-eslint/utils').TSESTree.Node } node
293- * returns {boolean}
297+ * @ returns {boolean }
294298 */
295299const isInHandledContext = ( node ) => {
296300 while ( node ) {
You can’t perform that action at this time.
0 commit comments