Skip to content

Commit 96867aa

Browse files
committed
chore: fix docs lint
1 parent b1f0ab1 commit 96867aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial/native-code-and-electron-swift-macos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ NODE_API_MODULE(swift_addon, Init)
10881088
You're so close! We now have working Objective-C, Swift, and thread-safe ways to expose methods and events to JavaScript. In this final step, let's create a JavaScript wrapper in `js/index.js` to provide a more friendly API:
10891089
10901090
```js title='js/index.js' @ts-expect-error=[10]
1091-
const EventEmitter = require('events')
1091+
const EventEmitter = require('node:events')
10921092
10931093
class SwiftAddon extends EventEmitter {
10941094
constructor () {

0 commit comments

Comments
 (0)