Created
December 26, 2019 12:20
-
-
Save zavr-1/dda3325190c698c7bd2bf004e45808c4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<types ns="_idio"> | |
<import from="@typedefs/goa" ns="_goa" name="Middleware" /> | |
<method name="session" return="!_goa.Middleware"> | |
<arg type="!_idio.SessionConfig" name="opts" opt> | |
The configuration passed to `koa-session`. | |
</arg> | |
Initialize the session middleware with `opts`. | |
</method> | |
</types> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment