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 {
|
export class ClassMember {
|
||||||
id!: string;
|
id!: string;
|
||||||
cssStyle!: string;
|
cssStyle!: string;
|
||||||
memberType!: string;
|
memberType!: 'method' | 'attribute';
|
||||||
visibility!: string;
|
visibility!: string;
|
||||||
classifier!: string;
|
classifier!: string;
|
||||||
parameters!: string;
|
parameters!: string;
|
||||||
returnType!: string;
|
returnType!: string;
|
||||||
|
|
||||||
constructor(input: string, memberType: string) {
|
constructor(input: string, memberType: 'method' | 'attribute') {
|
||||||
this.memberType = memberType;
|
this.memberType = memberType;
|
||||||
this.visibility = '';
|
this.visibility = '';
|
||||||
this.classifier = '';
|
this.classifier = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user