Skip to content

Conversation

@erik-slovak
Copy link
Member

@erik-slovak erik-slovak commented Feb 7, 2025

Fixes TSD-3

const logArg = node.arguments[0]
if (logArg != null && logArg.type === 'Literal' && typeof logArg.value === 'string') {
const { arguments: [logArg] } = node
if (logArg.type === 'Literal' && typeof logArg.value === 'string') {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why null check was removed ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants