Closed akleiber closed 4 years ago
@akleiber Yes, that should work. Is this due to the typings?
Sorry for the delay :) Yes due to the typings - the types for lambda-log are managed via DefinitelyTyped right? So I guess I need to open a PR at https://github.com/DefinitelyTyped/DefinitelyTyped/pulls
@akleiber That is correct, please feel free to open a PR there to get those fixed :) Let me know if you have any issues.
If using recommended rules the rule no-unsafe-member-access will disallow accessing
log.options.meta
because it is typed asany
.Would it be okay to type
log.options.meta
asRecord<string, unknown>
@KyleRoss ?