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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/rules/noParameterPropertiesRule.ts
Original file line number Diff line number Diff line change
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