How to type the context from the docs example - SolidJS