|
1 | 1 | export class Parameter { |
| 2 | + variable: string; |
| 3 | + range: string | null; |
| 4 | + required: boolean; |
| 5 | + description: string; |
| 6 | + deprecated?: boolean | undefined; |
| 7 | + |
2 | 8 | constructor( |
3 | | - public variable: string, |
4 | | - public range: string | null, |
5 | | - public required: boolean, |
6 | | - public description: string, |
7 | | - public deprecated?: boolean, |
8 | | - ) {} |
| 9 | + variable: string, |
| 10 | + range: string | null, |
| 11 | + required: boolean, |
| 12 | + description: string, |
| 13 | + deprecated?: boolean, |
| 14 | + ) { |
| 15 | + this.variable = variable; |
| 16 | + this.range = range; |
| 17 | + this.required = required; |
| 18 | + this.description = description; |
| 19 | + this.deprecated = deprecated; |
| 20 | + } |
9 | 21 | } |
0 commit comments