Skip to content

Commit

Permalink
Add type keyword to imports in README code.
Browse files Browse the repository at this point in the history
  • Loading branch information
grandafrato authored and lpil committed Mar 30, 2024
1 parent eea36cb commit e6a0f10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -17,7 +17,7 @@ defined in your application which may hold other state such as a database
connection or user session.

```gleam
import wisp.{Request, Response}
import wisp.{type Request, type Response}
pub type Context {
Context(secret: String)
Expand All @@ -41,7 +41,7 @@ handled, and the `serve_static` middleware is used to serve static files
such as images and CSS.

```gleam
import wisp.{Request, Response}
import wisp.{type Request, type Response}
pub fn handle_request(request: Request) -> Response {
use <- wisp.log_request
Expand Down

0 comments on commit e6a0f10

Please sign in to comment.