deno-lambda
deno-lambda copied to clipboard
allow option to run with `--check`
Deno has a flag to run without type-checking, which is useful for lambdas that have already been type-checked. There are already several DENO ENV VARs to configure behavior, a DENO_NOCHECK or more flexible DENO_FLAGS would be useful here.
Currently --no-check is always passed:
https://github.com/hayd/deno-lambda/blob/b2e02b0158282b200cbc5e2bd238403cb22b1ed6/runtime/bootstrap#L22
happy to submission of this, BUT I think --no-check is deprecated and deno is moving to --check (so flag should be DENO_CHECK). Potentially we should support --check=all etc.
https://github.com/denoland/deno/pull/14691
Sounds good
Will keep this open til it's implemented :)