Skip to content

Commit

Permalink
fix warn
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangfuxing committed Apr 2, 2024
1 parent 22afdf2 commit 2d78fed
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
9 changes: 4 additions & 5 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
"exports": "./mod.ts",
"lock": false,
"imports": {
"@deno-library/progress": "jsr:@deno-library/progress@^1.4.8",
"@std/assert": "jsr:@std/assert@^0.220.1",
"@std/async": "jsr:@std/async@^0.220.1",
"@std/fmt": "jsr:@std/fmt@^0.220.1",
"rx_webstreams/": "https://deno.land/x/[email protected]/",
"rx_webstreams": "https://deno.land/x/[email protected]/mod.ts",
"simpleTimerStream": "https://deno.land/x/[email protected]/mod.ts"
},
"publish": {
Expand All @@ -20,7 +21,5 @@
"changelog.md"
]
},
"compilerOptions": {
"declaration": true
}
}
"compilerOptions": {}
}
2 changes: 1 addition & 1 deletion examples/multi2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { MultiProgressBar } from "../mod.ts";
import {
simpleCallbackTarget,
timerSource,
} from "rx_webstreams/mod.ts";
} from "rx_webstreams";

const bars = new MultiProgressBar({ title: "Downloading Files: " });

Expand Down
2 changes: 1 addition & 1 deletion mod.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { bgGreen, bgWhite, stripAnsiCode } from "@std/fmt/colors";
import { prettyTime, prettyTimeOptions } from "./time.ts";
import { prettyTime, type prettyTimeOptions } from "./time.ts";
export { MultiProgressBar } from "./multi.ts";

const hasStdout = Deno.stdout;
Expand Down
2 changes: 1 addition & 1 deletion multi.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { bgGreen, bgWhite, stripAnsiCode } from "@std/fmt/colors";
import { prettyTime, prettyTimeOptions } from "./time.ts";
import { prettyTime, type prettyTimeOptions } from "./time.ts";

const hasStdout = Deno.stdout;

Expand Down

0 comments on commit 2d78fed

Please sign in to comment.