lukeed / resolve.exports

A tiny (952b), correct, general-purpose, and configurable `"exports"` and `"imports"` resolver without file-system reliance
MIT License
368 stars 15 forks source link

feat(ts): allow `readonly` arrays #15

Closed SimenB closed 2 years ago

SimenB commented 2 years ago

Consumers can still pass mutable ones as they extend with mutable functions, but this allows be to also pass readonly ones