You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to set the expressParentApp option when I call the init function without TypeScript telling me: Object literal may only specify known properties, and 'expressParentApp' does not exist in type 'LianaOptions'.
Actual behavior
TypeScript tells me: Object literal may only specify known properties, and 'expressParentApp' does not exist in type 'LianaOptions'.
Failure Logs
N/A
Context
TODO: Please provide any relevant information about your setup.
Package Version: 9.2.10
Express Version: 4.18.2
Sequelize Version: 6.32.0
Database Dialect: N/A
Database Version: N/A
The text was updated successfully, but these errors were encountered:
I just check and you are right. We export type through a public repository Definitely Typed
It is a project that provides a central repository of TypeScript definitions for NPM packages which do not have types like this one. You can open a Pull Request on this repository to contribute to our project if you wish. 🙏
However, the types I see in my code base are the ones from this repository (this file) so doing a P.R. on DefinitelyTyped would not fix my issue.
I'm a bit surprised that you are maintaining the types (with some differences) there and in this repository. Any reason for that? To me, as long as you have the types in the main repository, it's useless to have the DefinitelyTyped ones.
I can also open a P.R. on both repositories if you think I should.
Expected behavior
I would like to be able to set the
expressParentApp
option when I call theinit
function without TypeScript telling me:Object literal may only specify known properties, and 'expressParentApp' does not exist in type 'LianaOptions'.
Actual behavior
TypeScript tells me:
Object literal may only specify known properties, and 'expressParentApp' does not exist in type 'LianaOptions'.
Failure Logs
N/A
Context
TODO: Please provide any relevant information about your setup.
The text was updated successfully, but these errors were encountered: