typescript_safe/index.ts
2024-11-06 10:57:58 +01:00

7 lines
136 B
TypeScript

import { Item } from "./item";
let myItem = new Item(1, 1000);
console.log(myItem);
myItem.insuranceValue = 1500;
console.log(myItem);