We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caec275 commit 75a3693Copy full SHA for 75a3693
src/package-url.d.ts
@@ -20,7 +20,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
SOFTWARE.
21
*/
22
23
-declare module '@socketregistry/packageurl-js' {
+declare namespace Purl {
24
export type PurlQualifiers = { [key: string]: string }
25
26
export type PurlComponentEncoder = (comp: any) => string
@@ -190,3 +190,11 @@ declare module '@socketregistry/packageurl-js' {
190
export const PurlQualifierNames: PurlQualifierNames
191
export const PurlType: PurlType
192
}
193
+
194
+declare module '@socketregistry/packageurl-js' {
195
+ export = Purl
196
+}
197
198
+declare module 'packageurl-js' {
199
200
0 commit comments