deep-foundation / deep-foundation/deeplinks

deep.ids not working properly if one-length array is also passed

Open
#232 0 comments 0 reactions 1 assignee Assigned to @konard View on GitHub
bug
Dominant language
TypeScript
Stars
13
Forks
8
PR merge metrics
No merged PRs in 30d

Description

# Working
```ts
await deep.ids(["@deep-foundation/core", "Contain"], ["@deep-foundation/core", "User"])
```
```json
{
"@deep-foundation/core": {
"Contain": 3,
"User": 22
}
}
```

# Not Working
```ts
await deep.ids(["@deep-foundation/core"],["@deep-foundation/core", "Contain"], ["@deep-foundation/core", "User"])
```
```
{
"@deep-foundation/core": 184
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.