Skip to main content

js/noUndeclaredVariables

MISSING DOCUMENTATION

Examples

Invalid

foobar;

 file.ts:1 lint/js/noUndeclaredVariables ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  The foobar variable is undeclared

    foobar;
    ^^^^^^

ESLint Equivalent: no-undef

Examples

Invalid

foobar;

 file.ts:1 lint/js/noUndeclaredVariables(foobar) ━━━━━━━━━━━━━━━━━━━━━━━━━━

  The foobar variable is undeclared

    foobar;
    ^^^^^^