Skip to content

Commit 5464927

Browse files
authored
fix export type in migration document (#200)
1 parent 0f57746 commit 5464927

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

website/docs/getting-started/migration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ Node-API uses a different technique for defining the `exports` object.
114114
The code:
115115
116116
```cpp
117-
Napi::Export(target, "now", Now);
118-
Napi::Export(target, "nowDouble", NowDouble);
119-
Napi::Export(target, "nowStruct", NowStruct);
117+
Nan::Export(target, "now", Now);
118+
Nan::Export(target, "nowDouble", NowDouble);
119+
Nan::Export(target, "nowStruct", NowStruct);
120120
```
121121

122122
Needs to be replaced with:

0 commit comments

Comments
 (0)