mirror of
https://github.com/denoland/deno.git
synced 2024-12-26 09:10:40 -05:00
830d096b66
Also prints an information about the flag when there are `zap` errors.
16 lines
682 B
Text
16 lines
682 B
Text
Checking fast check type graph for errors...
|
|
error[zap-missing-explicit-return-type]: missing explicit return type in the public API
|
|
--> [WILDCARD]mod.ts:2:17
|
|
|
|
|
2 | export function getRandom() {
|
|
| ^^^^^^^^^ this function is missing an explicit return type
|
|
= hint: add an explit return type to the function
|
|
|
|
info: all functions in the public API must have an explicit return type
|
|
docs: https://jsr.io/go/zap-missing-explicit-return-type
|
|
|
|
This package contains Zap errors. Although conforming to Zap will
|
|
significantly improve the type checking performance of your library,
|
|
you can choose to skip it by providing the --no-zap flag.
|
|
|
|
error: Found 1 problem
|