diff --git a/docs/api-reference-source/npm.xml b/docs/api-reference-source/npm.xml index d705307..38250ea 100644 --- a/docs/api-reference-source/npm.xml +++ b/docs/api-reference-source/npm.xml @@ -29,17 +29,17 @@
To use such a package, access it through the npm
global:
-
npm.chalk
returns the default export of the chalk
package.
- npm.telegram.TelegramClient
returns the TelegramClient
export of the telegram
package.
- npm.chalk
returns the default export of the chalk
package.
+ npm.telegram.TelegramClient
returns the TelegramClient
export of the telegram
package.
+
For example, consider a package named contrivedExample
. Its default export has an ambiguousLabel
property; and one of its named exports happens to be named ambiguousLabel
as well. In this situation:
-
npm.contrivedExample.ambiguousLabel
returns the ambiguousLabel
named export.
- npm.contrivedExample.unmodifiedDefaultExport.ambiguousLabel
returns the ambiguousLabel
property of the default export.
- npm.contrivedExample.ambiguousLabel
returns the ambiguousLabel
named export.
+ npm.contrivedExample.unmodifiedDefaultExport.ambiguousLabel
returns the ambiguousLabel
property of the default export.
+