Skip to content

Commit 91fcfb9

Browse files
committed
Adjust d.ts for Method
1 parent 0a50d13 commit 91fcfb9

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

index.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,12 @@ declare module "qml-raub" {
242242
key: string;
243243
}>;
244244

245+
type TUnknownFn = (
246+
a0?: any, a1?: any, a2?: any, a3?: any, a4?: any,
247+
a5?: any, a6?: any, a7?: any, a8?: any, a9?: any,
248+
) => unknown;
245249
interface TNewableMethod {
246-
new(opts: TOptsMethod): (...args: unknown[]) => unknown;
250+
new(opts: TOptsMethod): TUnknownFn;
247251
}
248252

249253
/**

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"author": "Luis Blanco <luisblanco1337@gmail.com>",
33
"name": "qml-raub",
4-
"version": "3.1.0",
4+
"version": "3.1.1",
55
"description": "QML interoperation for Node.js",
66
"license": "MIT",
77
"main": "index.js",

0 commit comments

Comments
 (0)