Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
marklundin committed Sep 18, 2024
1 parent ea7f2d5 commit c932772
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/utils/ts-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ function resolveIdentifier(node, typeChecker) {
/**
* Resolve the value of a property access expression. Limited to simple cases like
* object literals and variable declarations.
*
*
* @param {import('typescript').Node} node - The property access expression node
* @param {import('typescript')} typeChecker - The TypeScript type checker
* @returns {any} - The resolved value of the property access
Expand All @@ -504,7 +504,7 @@ const resolvePropertyAccess = (node, typeChecker) => {
}

return undefined;
}
};

/**
* Evaluates unary prefixes like +, -, !, ~, and returns the result.
Expand All @@ -527,7 +527,7 @@ const evaluatePrefixUnaryExpression = (node, typeChecker) => {
}
}
return undefined;
}
};

function handleObjectLiteral(node, typeChecker) {
const obj = {};
Expand All @@ -549,7 +549,7 @@ function handleObjectLiteral(node, typeChecker) {
* Attempts to extract a literal value from a TypeScript node. This function
* supports various types of literals and expressions, including object literals,
* array literals, identifiers, and unary expressions.
*
*
* @param {import('typescript').Node} node - The AST node to evaluate
* @param {import('typescript').TypeChecker} typeChecker - The TypeScript type checker
* @returns {any} - The extracted literal value
Expand Down

0 comments on commit c932772

Please sign in to comment.