@ts-for-gir/templates 4.0.0-beta.34 → 4.0.0-beta.36
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
CHANGED
|
@@ -120,6 +120,11 @@ export class Interface<T = unknown> {
|
|
|
120
120
|
$gtype?: GType<T>
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
+
export namespace Object {
|
|
124
|
+
// Interface for virtual method implementations
|
|
125
|
+
export interface Interface extends GObject.Interface {}
|
|
126
|
+
}
|
|
127
|
+
|
|
123
128
|
/**
|
|
124
129
|
* Use this to signify a function that must be overridden in an
|
|
125
130
|
* implementation of the interface.
|
package/templates/package.json
CHANGED
|
@@ -72,11 +72,13 @@ _%>
|
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
74
|
<%_ if (packageName !== 'Gjs') { _%>
|
|
75
|
-
"<%- npmScope %>/gjs": "<%- depVersion %>"<%_ if(deps.length > 0 ) { _
|
|
75
|
+
"<%- npmScope %>/gjs": "<%- depVersion %>"<%_ if(deps.length > 0 ) { _%>,
|
|
76
|
+
<%_ } _%>
|
|
76
77
|
<%_ } _%>
|
|
77
78
|
<%_ for (let i = 0; i < deps.length; i++ ) { _%>
|
|
78
|
-
<%- deps[i].packageJsonImport %><%_ if(i < deps.length - 1) { _
|
|
79
|
-
<% } %>
|
|
79
|
+
<%- deps[i].packageJsonImport %><%_ if(i < deps.length - 1) { _%>,
|
|
80
|
+
<%_ } _%>
|
|
81
|
+
<%_ } _%>
|
|
80
82
|
},
|
|
81
83
|
"devDependencies": {
|
|
82
84
|
"typescript": "*"
|
|
@@ -86,7 +88,7 @@ _%>
|
|
|
86
88
|
"license": "MIT",
|
|
87
89
|
"repository": {
|
|
88
90
|
"type": "git",
|
|
89
|
-
"url": "git+https://github.com/gjsify/
|
|
91
|
+
"url": "git+https://github.com/gjsify/types.git"
|
|
90
92
|
},
|
|
91
93
|
"bugs": {
|
|
92
94
|
"url": "https://github.com/gjsify/ts-for-gir/issues"
|