bramus / bramus/specificity

Add types to exports

Open
#31 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
97
Forks
7
PR merge metrics
No merged PRs in 30d

Description

When using this library with typescript I get an error:

```
There are types at '.../node_modules/@bramus/specificity/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@bramus/specificity' library may need to update its package.json or typings.
```

I think the fix is just to add the `types` field under the exports as well

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.