subbed
subbed
DDeno
Created by subbed on 10/15/2024 in #help
deno check does not accept noImplicitReturns
ah, awesome, thank you!
15 replies
DDeno
Created by subbed on 10/15/2024 in #help
deno check does not accept noImplicitReturns
@bartlomieju ok so, considering this reply here on the issue, is there even an option to truly enforce strict checks, enforcing return types? https://github.com/denoland/deno/issues/26265#issuecomment-2413938566
15 replies
DDeno
Created by subbed on 10/15/2024 in #help
deno check does not accept noImplicitReturns
correct, and as i said, i have been using it thus far. thank you for your recommendation regardless
15 replies
DDeno
Created by subbed on 10/15/2024 in #help
deno check does not accept noImplicitReturns
i have used biome for quite a while now. regardless, it is an additional config file on the root, so a fix would be appreciated
15 replies
DDeno
Created by subbed on 10/15/2024 in #help
deno check does not accept noImplicitReturns
15 replies
DDeno
Created by subbed on 10/15/2024 in #help
deno check does not accept noImplicitReturns
please ping me if you reply to this post, thank you
15 replies
DDeno
Created by subbed on 10/15/2024 in #help
deno check does not accept noImplicitReturns
for example, deno check does not error on the following, even though the Response return type is not provided:
const rootHandler = (ctx: Context) => {
return ctx.json({ shade: "?", random: randomInt(0, 256) });
};
const rootHandler = (ctx: Context) => {
return ctx.json({ shade: "?", random: randomInt(0, 256) });
};
15 replies