Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

no-string-literal: Fix documentation #2875

Merged
merged 1 commit into from
Jun 5, 2017

Conversation

andy-hanson
Copy link
Contributor

PR checklist

  • Addresses an existing issue: #0000
  • New feature, bugfix, or enhancement
    • Includes tests
  • Documentation update

Overview of change:

Clarified the rule documentation.

  • The rule does nothing when a string literal is necessary, as in obj["foo-bar"].
  • There's nothing unsafe about string literal access if --noImplicitAny is turned on.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants