import { PersonGeneratorOptions } from '../generators/PersonGenerator' export type PersonAttributes = PersonGeneratorOptions & { ref: string } export type PersonConstructor = { $: PersonAttributes } export default class Person { public $: PersonAttributes public ref: string constructor(opts: PersonConstructor) { this.ref = opts.$.ref this.$ = opts.$ } }