Skip to content

vitepress-ssgReadme | API


函数: sayHello()

这是一个说hello的函数

sayHello(name): string

参数

参数TypeDescription
namestring名称

返回值类型

string

方法名称

这是一个说hello的函数

示例

ts
console.log(sayHello('hacxy')); // Hello, hacxy!

查看源码

index.ts:11

Released under the MIT License.