mirror of
https://github.com/denoland/deno
synced 2024-08-28 12:29:31 +00:00
fix(publish): 'explit' typo (#22296)
This commit is contained in:
parent
33d12c1d57
commit
82401e9fe0
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -1374,9 +1374,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "deno_graph"
|
name = "deno_graph"
|
||||||
version = "0.64.1"
|
version = "0.64.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "c0eb6ad784fa5885867ba00e0db8ddcb2d98a4a0234fe336d50a13092e268c44"
|
checksum = "a60def166df99195520b3b020974fdf7d3865b7a07eca5284ff0d24235f972da"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
|
|
|
@ -59,7 +59,7 @@ deno_config = "=0.9.2"
|
||||||
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
|
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
|
||||||
deno_doc = { version = "=0.100.0", features = ["html"] }
|
deno_doc = { version = "=0.100.0", features = ["html"] }
|
||||||
deno_emit = "=0.35.0"
|
deno_emit = "=0.35.0"
|
||||||
deno_graph = "=0.64.1"
|
deno_graph = "=0.64.2"
|
||||||
deno_lint = { version = "=0.55.0", features = ["docs"] }
|
deno_lint = { version = "=0.55.0", features = ["docs"] }
|
||||||
deno_lockfile.workspace = true
|
deno_lockfile.workspace = true
|
||||||
deno_npm = "=0.16.0"
|
deno_npm = "=0.16.0"
|
||||||
|
|
|
@ -4,7 +4,7 @@ error[zap-missing-explicit-return-type]: missing explicit return type in the pub
|
||||||
|
|
|
|
||||||
2 | export function getRandom() {
|
2 | export function getRandom() {
|
||||||
| ^^^^^^^^^ this function is missing an explicit return type
|
| ^^^^^^^^^ this function is missing an explicit return type
|
||||||
= hint: add an explit return type to the function
|
= hint: add an explicit return type to the function
|
||||||
|
|
||||||
info: all functions in the public API must have an explicit return type
|
info: all functions in the public API must have an explicit return type
|
||||||
docs: https://jsr.io/go/zap-missing-explicit-return-type
|
docs: https://jsr.io/go/zap-missing-explicit-return-type
|
||||||
|
|
Loading…
Reference in a new issue