components/ide/

a still: the problem said

names
EXPLORER
NAMES
src
TSmain.ts
TSnames.ts
TSmain.ts
srcTSmain.ts
1import { greet, names } from "./names"
2
3for (const name of names) console.log(greet(name))
4console.log(names.lenght)
5
PROBLEMSOUTPUTDEBUG CONSOLETERMINAL
TSmain.ts1
Property 'lenght' does not exist on type 'string[]'. Did you mean 'length'?ts(2551)
main 1 0Ln 4, Col 26Spaces: 2UTF-8LFTypeScript