You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a trivial implementation, where we pretend that * is an actual name exported by the "react" package. It does not work for the general form that introduces a new namespace, for example:
// For example, "Button" in controls.ts becomes "controls.Button"import*ascontrolsfrom'./controls';
This form is called ts.SyntaxKind.NamespaceImport because it is essentially a more general form of the namespace controls { } declaration kind.
As such, it should probably produce an ApiItemKind.Namespace item.
PR #1002 adds support for declarations like this:
This is a trivial implementation, where we pretend that
*is an actual name exported by the"react"package. It does not work for the general form that introduces a new namespace, for example:This form is called
ts.SyntaxKind.NamespaceImportbecause it is essentially a more general form of thenamespace controls { }declaration kind.As such, it should probably produce an
ApiItemKind.Namespaceitem.