Skip to content
On this page

lib-starter-rollup / Exports

lib-starter-rollup

Table of contents

Interfaces

Variables

Functions

Variables

Hello

Const Hello: "Hello World!"

HelloWorld字符串,值是'Hello World!'

Defined in

index.ts:4

Functions

sum

sum(x, y): number

两数相加函数

Example

ts
// 传入两个数值
console.log(sum(1,2))

Parameters

NameType
xnumber
ynumber

Returns

number

Defined in

test.ts:9