Compare commits
1 Commits
main
...
harmony-cr
| Author | SHA1 | Date | |
|---|---|---|---|
| 1aff9adb59 |
737
package-lock.json
generated
737
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -7,8 +7,7 @@
|
||||
"build": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack",
|
||||
"type-check": "tsc",
|
||||
"dev": "npm run build -- --watch",
|
||||
"lint": "eslint",
|
||||
"postinstall": "patch-package"
|
||||
"lint": "eslint"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "Joseph HENRY <joseph@autourdeminuit.com> (Autour du Volcan)",
|
||||
@ -24,7 +23,6 @@
|
||||
"core-js": "^3.46.0",
|
||||
"cross-env": "^10.1.0",
|
||||
"eslint": "^9.39.1",
|
||||
"patch-package": "^8.0.1",
|
||||
"tba-types": "github:bryab/tba-types",
|
||||
"ts-node": "^10.9.2",
|
||||
"tsconfig-paths": "^4.2.0",
|
||||
|
||||
@ -1,38 +0,0 @@
|
||||
diff --git a/node_modules/tba-types/shared/qobject.d.ts b/node_modules/tba-types/shared/qobject.d.ts
|
||||
index beef3be..3afc025 100644
|
||||
--- a/node_modules/tba-types/shared/qobject.d.ts
|
||||
+++ b/node_modules/tba-types/shared/qobject.d.ts
|
||||
@@ -17,7 +17,7 @@ declare class QObject {
|
||||
/**
|
||||
* Returns a list of child objects.
|
||||
*/
|
||||
- public children(...args): QObjectList;
|
||||
+ public children(...args: unknown[]): QObjectList;
|
||||
|
||||
public connect(
|
||||
sender: QObject,
|
||||
diff --git a/node_modules/tba-types/shared/qt.d.ts b/node_modules/tba-types/shared/qt.d.ts
|
||||
index c36f1e3..9736cdb 100644
|
||||
--- a/node_modules/tba-types/shared/qt.d.ts
|
||||
+++ b/node_modules/tba-types/shared/qt.d.ts
|
||||
@@ -1,7 +1,7 @@
|
||||
declare namespace Qt {
|
||||
- const Checked;
|
||||
- const UnChecked;
|
||||
- const DecorationRole;
|
||||
+ const Checked: number;
|
||||
+ const UnChecked: number;
|
||||
+ const DecorationRole: number;
|
||||
type HANDLE = any;
|
||||
|
||||
enum AlignmentFlag {
|
||||
diff --git a/node_modules/tba-types/shared/qtcore.d.ts b/node_modules/tba-types/shared/qtcore.d.ts
|
||||
index e3b5906..b3ee291 100644
|
||||
--- a/node_modules/tba-types/shared/qtcore.d.ts
|
||||
+++ b/node_modules/tba-types/shared/qtcore.d.ts
|
||||
@@ -1,4 +1,4 @@
|
||||
-declare class QSignal<T extends (...any) => void> {
|
||||
+declare class QSignal<T extends (...args: any[]) => void> {
|
||||
connect(method: T): any;
|
||||
connect(receiver: any, method: T): any;
|
||||
disconnect(receiver: any, method: T): any;
|
||||
@ -10,7 +10,7 @@ function* recursiveIterNodes(n: string): Generator<string> {
|
||||
}
|
||||
|
||||
function main() {
|
||||
const nodes = Array.from(recursiveIterNodes(node.root()));
|
||||
const nodes = recursiveIterNodes(node.root());
|
||||
|
||||
for (const node of nodes) {
|
||||
console.log(node);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user