enum Notes {
“1/2”,
“1/4”,
“1/8”,
“1/16”,
“1”,
“2”,
“4”,
}
Namespace Music{
//% block=“play music $notes|| note lenght of $lenght”
export function playMusic(notes: number, lenght: Notes)
}
Why does it say a ‘;’ was expected on line 11 (error in italics)
It’s namespace
, not Namespace
.
1 Like