mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-21 06:53:17 +08:00
Update packages/mermaid/src/diagrams/class/classTypes.ts
Co-authored-by: Alois Klink <alois@aloisklink.com>
This commit is contained in:
parent
1d391d9408
commit
8435330534
@ -19,13 +19,13 @@ export interface ClassNode {
|
||||
export class ClassMember {
|
||||
id!: string;
|
||||
cssStyle!: string;
|
||||
memberType!: string;
|
||||
memberType!: 'method' | 'attribute';
|
||||
visibility!: string;
|
||||
classifier!: string;
|
||||
parameters!: string;
|
||||
returnType!: string;
|
||||
|
||||
constructor(input: string, memberType: string) {
|
||||
constructor(input: string, memberType: 'method' | 'attribute') {
|
||||
this.memberType = memberType;
|
||||
this.visibility = '';
|
||||
this.classifier = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user