diff --git a/docs/api/image-view.md b/docs/api/image-view.md index 854de305460..edc93fa7e89 100644 --- a/docs/api/image-view.md +++ b/docs/api/image-view.md @@ -14,6 +14,7 @@ Note that `ImageView` is experimental and may be changed or removed in the futur ```js const { BaseWindow, ImageView, nativeImage, WebContentsView } = require('electron') + const path = require('node:path') const win = new BaseWindow({ width: 800, height: 600 })