Closed pixelass closed 1 year ago
The example for hooks did not use the HookedConsole in the cleanup function. It would probably still work since it's the same object but it creates a typescript error.
HookedConsole
I just noticed this and thought it might be wise to provide a typesafe example.
Open in CodeSandbox Web Editor | VS Code | VS Code Insiders
Run & review this pull request in StackBlitz Codeflow.
thanks!
The example for hooks did not use the
HookedConsole
in the cleanup function. It would probably still work since it's the same object but it creates a typescript error.I just noticed this and thought it might be wise to provide a typesafe example.