Skip to content

Commit d1fd67a

Browse files
committed
Fixing the docs for #330
1 parent 8891795 commit d1fd67a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/middleware/adonis.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { WhatsAppAPIMiddleware } from "./globals.js";
22
import { isInteger } from "../utils.js";
33

4-
import type { Request } from "@adonisjs/http-server/build";
4+
import type { Request } from "@adonisjs/http-server";
55
import type { GetParams, PostData } from "../types";
66

77
/**

tsconfig.json

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"include": ["src/**/*"],
33
"exclude": ["src/standalone.ts"],
44
"compilerOptions": {
5+
"target": "ESNext",
6+
"module": "Preserve",
7+
"moduleResolution": "Bundler",
58
"outDir": "lib/types",
69
"declaration": true,
710
"declarationMap": true,

0 commit comments

Comments
 (0)