deno/tests/specs/lint/no_slow_types/no_slow_types_entrypoint.out

36 lines
1.3 KiB
Plaintext

error[no-slow-types]: missing explicit return type in the public API
--> [WILDCARD]a.ts:1:17
|
1 | export function add(a: number, b: number) {
| ^^^ this function is missing an explicit return type
= hint: add an explicit return type to the function
info: all functions in the public API must have an explicit return type
docs: https://jsr.io/go/slow-type-missing-explicit-return-type
error[no-slow-types]: missing explicit return type in the public API
--> [WILDCARD]b.ts:1:17
|
1 | export function addB(a: number, b: number) {
| ^^^^ this function is missing an explicit return type
= hint: add an explicit return type to the function
info: all functions in the public API must have an explicit return type
docs: https://jsr.io/go/slow-type-missing-explicit-return-type
error[no-slow-types]: missing explicit return type in the public API
--> [WILDCARD]d.ts:2:17
|
2 | export function addD(a: number, b: number) {
| ^^^^ this function is missing an explicit return type
= hint: add an explicit return type to the function
info: all functions in the public API must have an explicit return type
docs: https://jsr.io/go/slow-type-missing-explicit-return-type
Found 3 problems
Checked 1 file