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

no-parameter-properties: fix unclear rule description #4629

Merged
merged 1 commit into from Apr 2, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/rules/noParameterPropertiesRule.ts
Expand Up @@ -29,7 +29,7 @@ export class Rule extends Lint.Rules.AbstractRule {
Parameter properties can be confusing to those new to TS as they are less explicit
than other ways of declaring and initializing class members.

It can be cleaner to keep member variable declarations in one list directly only the class
It can be cleaner to keep member variable declarations in one list directly above the class constructor
(instead of mixed between direct class members and constructor parameter properties).
`,
optionsDescription: "Not configurable.",
Expand Down