Skip to content

Commit

Permalink
chore: fix jsr slow types error
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed Jul 13, 2024
1 parent d95820d commit a7e8b35
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
{
"name": "@gramio/autoload",
"version": "0.0.3",
"version": "1.0.0",
"exports": "./src/index.ts",
"publish": {
"include": ["deno.json", "src", "README.md", "tsconfig.json"]
"include": [
"deno.json",
"src",
"README.md",
"tsconfig.json"
]
},
"imports": {
"fdir": "npm:fdir@^6.1.1",
"picomatch": "npm:picomatch@^4.0.2",
"@types/picomatch": "npm:@types/picomatch@^3.0.0",
"gramio": "jsr:@gramio/core@^0.0.32"
}
}
}
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export interface AutoloadOptions {
* bot.command("start", (context) => context.send("hello!"));
* ```
*/
export async function autoload(options?: AutoloadOptions) {
export async function autoload(options?: AutoloadOptions): Promise<Plugin> {
const failGlob = options?.failGlob ?? true;
const patterns =
typeof options?.patterns === "string"
Expand Down

0 comments on commit a7e8b35

Please sign in to comment.