Documentation mismatch? No type property on ForeignKeyOptions #13429
Labels
good first issue
For issues. An issue that is a good choice for first-time contributors.
type: docs
For issues and PRs. Things related to documentation, such as changes in the manuals / API reference.


Working on a project I ran into the documentation for customizing the Foreign Key.
The docs read:
Good enough, but when I went to work on it, it threw an error :
Looking at the files, it seems true. Is this correct behavior, missing type or incorrect documentation?
sequelize/types/lib/associations/base.d.ts
Line 37 in 56bb1d6
EDIT:
After working on this, looks like it does work but the option is not part of the ForeignKey Options as described in the docs.
The text was updated successfully, but these errors were encountered: