Change `.tailor`'s type definition to return `this`.
Open
feature
- Dominant language
- JavaScript
- Stars
- 21.2k
- Forks
- 1.5k
- Avg merge
- 4h 57m
- Merged PRs (30d)
- 14
Description
### Runtime
node.js
### Runtime version
18.20.4
### Module version
17.13.3
### Used with
hapi application
### Any other relevant information
_No response_
### What problem are you trying to solve?
The `.tailor` call's type definition return `Schema` and loses the actual schema type it was called on. It likely should return `this`.
### Do you have a new or modified API suggestion to solve the problem?
Have `.tailor` return `this` in the `index.d.ts`.
Contributor guide
Assessment
This issue has not been assessed yet.