@ts-for-gir/generator-typescript 3.2.5 → 3.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +11 -11
- package/templates/gjs/dom.d.ts +9 -0
- package/templates/gjs/gjs.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ts-for-gir/generator-typescript",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.7",
|
|
4
4
|
"description": "TypeScript type definition generator for ts-for-gir",
|
|
5
5
|
"module": "lib/index.js",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -35,18 +35,18 @@
|
|
|
35
35
|
"generator"
|
|
36
36
|
],
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@types/node": "^20.
|
|
39
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
40
|
-
"@typescript-eslint/parser": "^6.
|
|
41
|
-
"eslint": "^8.
|
|
42
|
-
"eslint-config-prettier": "^9.
|
|
43
|
-
"eslint-plugin-prettier": "^5.
|
|
44
|
-
"prettier": "^3.1.
|
|
38
|
+
"@types/node": "^20.10.6",
|
|
39
|
+
"@typescript-eslint/eslint-plugin": "^6.17.0",
|
|
40
|
+
"@typescript-eslint/parser": "^6.17.0",
|
|
41
|
+
"eslint": "^8.56.0",
|
|
42
|
+
"eslint-config-prettier": "^9.1.0",
|
|
43
|
+
"eslint-plugin-prettier": "^5.1.2",
|
|
44
|
+
"prettier": "^3.1.1",
|
|
45
45
|
"rimraf": "^5.0.5",
|
|
46
|
-
"typescript": "
|
|
46
|
+
"typescript": "5.2.2"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@ts-for-gir/generator-base": "^3.2.
|
|
50
|
-
"@ts-for-gir/lib": "^3.2.
|
|
49
|
+
"@ts-for-gir/generator-base": "^3.2.7",
|
|
50
|
+
"@ts-for-gir/lib": "^3.2.7"
|
|
51
51
|
}
|
|
52
52
|
}
|
package/templates/gjs/dom.d.ts
CHANGED
|
@@ -13,6 +13,15 @@
|
|
|
13
13
|
|
|
14
14
|
declare global {
|
|
15
15
|
|
|
16
|
+
interface ImportMeta {
|
|
17
|
+
/**
|
|
18
|
+
* The absolute file: or resource: URL of the module.
|
|
19
|
+
*
|
|
20
|
+
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/doc/ESModules.md#importmetaurl
|
|
21
|
+
*/
|
|
22
|
+
readonly url: string;
|
|
23
|
+
}
|
|
24
|
+
|
|
16
25
|
// Timers
|
|
17
26
|
// See https://gitlab.gnome.org/GNOME/gjs/-/blob/master/modules/esm/_timers.js
|
|
18
27
|
|
package/templates/gjs/gjs.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ declare namespace byteArray {
|
|
|
71
71
|
/** @deprecated Use {@link GLib.Bytes.toArray} instead */
|
|
72
72
|
export function fromGBytes(input: GLib.Bytes): Uint8Array
|
|
73
73
|
|
|
74
|
-
/** @deprecated Use {@link
|
|
74
|
+
/** @deprecated Use {@link TextDecoder.decode} instead */
|
|
75
75
|
export function toString(x: Uint8Array, encoding?: TextDecoderEncoding): string
|
|
76
76
|
|
|
77
77
|
/** @deprecated Use {@link GLib.Bytes new GLib.Bytes() } instead */
|