Skip to content
Myr

refactor: Update context.ts (#402)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Allow typecast in context.get(), e.g. ```ts const user = context.get<User>('user'); ```

authored by Benjamin Kniffler · committed by GitHub · parent da4d9a5 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/context.ts+1 added-1 removed