-
Notifications
You must be signed in to change notification settings - Fork 639
Closed
grafana/grafana
#21931Labels
effort: mediumNeeds a somewhat experienced developerNeeds a somewhat experienced developerenhancementThe issue is asking for a new feature or design changeThe issue is asking for a new feature or design changehelp wantedIf you're looking to contribute, this issue is a good place to start!If you're looking to contribute, this issue is a good place to start!needs designThe next step is for someone to propose the details of an approach for solving the problemThe next step is for someone to propose the details of an approach for solving the problem
Description
PR #1002 adds support for declarations like this:
import * as React from 'react';
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 * as controls from './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.
spion, tylerlevine, chradek, richardpark-msft, xirzec and 27 moretransitive-bullshit, larshp and m4rvr
Metadata
Metadata
Assignees
Labels
effort: mediumNeeds a somewhat experienced developerNeeds a somewhat experienced developerenhancementThe issue is asking for a new feature or design changeThe issue is asking for a new feature or design changehelp wantedIf you're looking to contribute, this issue is a good place to start!If you're looking to contribute, this issue is a good place to start!needs designThe next step is for someone to propose the details of an approach for solving the problemThe next step is for someone to propose the details of an approach for solving the problem