Skip to content

Commit

Permalink
chore: fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed Dec 21, 2024
1 parent 1abbc6a commit 0d95ad6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/updates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import {
} from "@gramio/contexts";
import type { APIMethodParams, TelegramUpdate } from "@gramio/types";
import type { CaughtMiddlewareHandler } from "middleware-io";
import { UpdateQueue, sleep } from "queue.js";
import { Composer } from "./composer.js";
import { TelegramError } from "./errors.js";
import { UpdateQueue, sleep } from "./queue.js";
import type { AnyBot } from "./types.js";

export class Updates {
Expand Down
17 changes: 8 additions & 9 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
{
"compilerOptions": {
"lib": ["ESNext"],
"target": "ES2022",
"module": "NodeNext",
"moduleDetection": "force",

/* Bundler mode */
"moduleResolution": "NodeNext",
"module": "ESNext",
"target": "ESNext",
"moduleResolution": "Bundler",
"esModuleInterop": true,
/* Linting */
"skipLibCheck": true,
"strict": true,
Expand All @@ -16,8 +14,9 @@
"composite": true,
"baseUrl": "./src",
"rootDir": "./src",
"outDir": "./dist"
"outDir": "./dist",
"allowImportingTsExtensions": true,
"noEmit": true
},
"include": ["./src"],
"exclude": ["./dist"]
"include": ["./src"]
}

0 comments on commit 0d95ad6

Please sign in to comment.