Open ghost opened 3 years ago
I've noticed there has been a discrepancy with the type definitions. I, unfortunately, did not create them and would prefer to pull the types into the repository as you have mentioned.
I'm in the progress of building v4.0.0 now in TypeScript to solve for this issue :)
Description
I'm using unofficial
@types/lambda-log
package, and it seems to be incorrect or outdated. For example, in theoptions
object, it doesn't show metagsKey
andmessageKey
properties, however, when I look from the source code they are defined, and can be set.It would be better if the repository is re-written in TypeScript, or provides its own type definitions. ...
Why should Lambda Log incorporate this feature?
TypeScript requires type definitions for a package/module, and since this package does not officially provide it, unofficial @types/lambda-log is used, and they are outdated, or incorrect. That's why the package should ship with its own type definitions. ...