publish --dry-run Check file:///home/karad/study/jsr/greet/mod.ts Checking for slow types in the public API... error[missing-explicit-return-type]: missing explicit return type in the public API --> /home/karad/study/jsr/greet/mod.ts:16:17 | 16 | export function greet(name: string) { | ^^^^^ 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 This package contains errors for slow types. Fixing these errors will: 1. Significantly improve your package users' type checking performance. 2. Improve the automatic documentation generation. 3. Enable automatic .d.ts generation for Node.js. Don't want to bother? You can choose to skip this step by providing the --allow-slow-types flag. error: Found 1 problem
があるとチェックが走るのを利用 ◦ deno.json configuration file | Deno Docs https://docs.deno.com/runtime/manual/getting_started/configuration_file • lint コマンドをつかう $ deno lint --config jsr.json $ deno lint --config jsr.json error[no-slow-types]: missing explicit type in the public API --> /home/karad/study/jsr/greet/mod.ts:25:14 | 25 | export const GLOBAL_ID = crypto.randomUUID(); | ^^^^^^^^^ this symbol is missing an explicit type = hint: add an explicit type annotation to the symbol info: all symbols in the public API must have an explicit type docs: https://jsr.io/go/slow-type-missing-explicit-type Found 1 problem Checked 1 file