Skip to content

Commit

Permalink
hasUndefinedValue -> isUndefined
Browse files Browse the repository at this point in the history
Co-authored-by: Mateusz Burzyński <[email protected]>
  • Loading branch information
farskid and Andarist authored Jan 11, 2024
1 parent b670531 commit 489f04e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion new-packages/ts-project/src/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Expression } from 'typescript';
import { ExtractionContext, ExtractorStateConfig } from './types';
import { getPropertyKey } from './utils';

const hasUnefinedValue = (ts: typeof import('typescript'), prop: Expression) =>
const isUndefined = (ts: typeof import('typescript'), prop: Expression) =>
ts.isIdentifier(prop) && ts.idText(prop) === 'undefined';

const StateConfigDataWhitelistedProperties = new Set([
Expand Down

0 comments on commit 489f04e

Please sign in to comment.