You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
// 函数没有返回值,那么函数的返回值类型为 void
function greet(name: string): void { console.log('Hello', name) }
greet('Ken')
|