Say you have this setup:
// httpcodes.gleam
pub const redirect = 303
// server_test.gleam
// ...
response.status
|> should.equal(httpcodes.redirect)
// ^ hovering here currently only shows the type, in this case "Int"
Coming from writing typescript all day, I was expecting to see the value for constants.
const a = 100
console.log(a);
// ^ shopws "const a: 100"
It would be nice if, like typescript, it showed a message like const redirect: Int = 303. (using valid syntax in this popup to avoid confusion)
Say you have this setup:
Coming from writing typescript all day, I was expecting to see the value for constants.
It would be nice if, like typescript, it showed a message like
const redirect: Int = 303. (using valid syntax in this popup to avoid confusion)