Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions napi/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,12 @@ export interface NapiResolveOptions {
* Default `false`
*/
enablePnp?: boolean;
/**
* Path to yarn Plug'n'Play manifest file.
*
* Default `None`
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

In JSDoc for TypeScript, it's more conventional to use undefined to describe the default for an optional property. None is more common in other languages like Rust and might be confusing for JavaScript/TypeScript developers.

Suggested change
* Default `None`
* Default `undefined`

*/
pnpManifest?: string;
}

export interface ResolveResult {
Expand Down
Loading
Loading