Files
med-notes/.pnpm-store/v10/files/74/80656b6435ad385bcb1b80d48448d64469e6b6add015c3c4f5aabae89c4f97f0f3410effd7bf6e7427fc83fa3c82e3750a2fca3491c1fff6c015a92dc21df1
2025-05-09 05:30:08 +02:00

18 lines
293 B
Plaintext

export default class Ref {
num: number;
gen: number;
constructor({ num, gen }: { num: number; gen: number }) {
this.num = num;
this.gen = gen;
}
toString(): string {
let str = `${this.num}R`;
if (this.gen !== 0) {
str += this.gen;
}
return str;
}
}