tsleta = 1;Type 'string' is not assignable to type 'number'.2322Type 'string' is not assignable to type 'number'.= a a + '2';
tsconstdishes = ["pasta", "pizza", "lasagne"];constfavourite =dishes [2];const favourite: string
rs#[derive(Debug)]struct Rectangle {width: u32,height: u32,}impl Rectangle {fn square(size: u32) -> Rectangle {Rectangle { width: size, height: size }}fn area(&self) -> u32 {self.width * self.height}fn can_hold(&self, other: &Rectangle) -> bool {&self.width >= &other.width && &self.height >= &other.height}}