diff --git a/zh-cn/application-dev/quick-start/har-package.md b/zh-cn/application-dev/quick-start/har-package.md index 110559b41e9ae4659da13663b7f140d5080ec6e0..0dbf9a34fd1f68a5a54f5a9297c27fe2a29302cb 100644 --- a/zh-cn/application-dev/quick-start/har-package.md +++ b/zh-cn/application-dev/quick-start/har-package.md @@ -103,7 +103,7 @@ export { MainPage } from './src/main/ets/components/MainPage/MainPage' ```js // library/src/main/ts/test.ets export class Log { - static info(msg) { + static info(msg: string) { console.info(msg); } }