提交 c9f4981e 编写于 作者: A Annie_wang

update docs

Signed-off-by: NAnnie_wang <annie.wangli@huawei.com>
上级 05cd3ae9
...@@ -156,7 +156,7 @@ struct Index { ...@@ -156,7 +156,7 @@ struct Index {
// Declare the N-APIs exposed to ArkTS. // Declare the N-APIs exposed to ArkTS.
export const add: (a: number, b: number) => number; export const add: (a: number, b: number) => number;
export const nativeCallArkTS: (a: object) => number; export const nativeCallArkTS: (a: object) => number;
``` ```
## Development Guidelines ## Development Guidelines
...@@ -181,4 +181,4 @@ The ArkCompiler protects JS object threads. Improper use may cause an applicatio ...@@ -181,4 +181,4 @@ The ArkCompiler protects JS object threads. Improper use may cause an applicatio
### Header File Import ### Header File Import
Import **napi/native_api.h**. Otherwise, an error indicating that the N-API cannot be found will be reported. Import **napi/native_api.h**. Otherwise, an error indicating that the N-API cannot be found will be reported.
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册