types
v0.0.1arrow_drop_downv0.0.1
STATUS
None
DOWNLOADS
8
VISIBILITY
Public
PUBLISHED
6 years ago
SIZE
N/A
Import Specifier data.
1 contributor
Like
Install types as a package?
Copied
npm i @bit/david.bit-javascript.dependency-tree.types
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
chevron_left
chevron_right
Import Specifier data.
For example, import foo from './bar'
, “foo” is the import-specifier and is default.
Conversely, import { foo } from './bar'
, here, “foo” is non-default.
ImportSpecifier are used to generate links from component to its dependencies. For example, a component might have a dependency: "import { foo } from ‘./bar’ ", when a link is generated, we use the import-specifier name, which is “foo” to generate the link correctly.