Skip to content

Commit

Permalink
tsuml2 no default works
Browse files Browse the repository at this point in the history
  • Loading branch information
stared committed Feb 15, 2023
1 parent 7e2a479 commit c9d15ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Person from './person'
import { Person } from './person'
import { Vector, Color } from './structures'

export default class MainClass {
export class MainClass {
constructor(public color: Color, public v: Vector, public person: Person) {}
}
2 changes: 1 addition & 1 deletion src/person.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export default class Person {
export class Person {
constructor(public name: string, public surname: string) {}
}

0 comments on commit c9d15ec

Please sign in to comment.