typescript_safe/index.ts

7 lines
136 B
TypeScript
Raw Normal View History

2024-11-06 09:57:58 +00:00
import { Item } from "./item";
let myItem = new Item(1, 1000);
console.log(myItem);
myItem.insuranceValue = 1500;
console.log(myItem);