We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey, simple case, or as I thought.
https://codesandbox.io/s/sleepy-worker-s85bs
Simple interface for typed data, can't pass it to context. Is it how it's supposed to work?
The text was updated successfully, but these errors were encountered:
Looks more like a TypeScript question. I am not sure why type works, but interface does not in this case.
type
interface
This works:
import roarr from "roarr"; type Custom = { a: string; b: string; } const logger = roarr.Roarr; const data: Custom = { a: "asd", b: "asd" }; logger.error( { data }, "test" );
Sorry, something went wrong.
No branches or pull requests
Hey, simple case, or as I thought.
https://codesandbox.io/s/sleepy-worker-s85bs
Simple interface for typed data, can't pass it to context. Is it how it's supposed to work?
The text was updated successfully, but these errors were encountered: