Comparing version 4.0.0-beta.12 to 4.0.0-beta.13
@@ -13,3 +13,3 @@ // Cairo 1.0 | ||
// Re-exported enums | ||
// START Re-exported enums, copied from cairo-1.0.d.ts | ||
export namespace Status { | ||
@@ -343,2 +343,4 @@ export const $gtype: GObject.GType<Status>; | ||
// END Re-exported enums, copied from cairo-1.0.d.ts | ||
export class Context extends Cairo.Context { | ||
@@ -345,0 +347,0 @@ constructor(surface: Surface); |
13
dom.d.ts
@@ -13,2 +13,3 @@ /** | ||
import type GLib from '@girs/glib-2.0'; | ||
import type GObject from '@girs/gobject-2.0'; | ||
@@ -221,14 +222,2 @@ declare global { | ||
timeStamp(_label: string): void; | ||
// GJS-specific extensions for integrating with GLib structured logging | ||
/** | ||
* @param logDomain the GLib log domain this Console should print | ||
* with. Defaults to 'Gjs-Console'. | ||
*/ | ||
setLogDomain(logDomain: string): void; | ||
logDomain: string; | ||
interact(): void; | ||
} | ||
@@ -235,0 +224,0 @@ |
@@ -20,1 +20,6 @@ // https://www.typescriptlang.org/docs/handbook/modules.html#ambient-modules | ||
} | ||
declare module 'console' { | ||
import Console from '@girs/gjs/console'; | ||
export default Console; | ||
} |
@@ -602,2 +602,10 @@ /** | ||
interface StringConstructor { | ||
$gtype: GObject.GType<string>; | ||
} | ||
interface ObjectConstructor { | ||
$gtype: GObject.GType<Object>; | ||
} | ||
const imports: GjsImports; | ||
@@ -604,0 +612,0 @@ |
{ | ||
"name": "@girs/gjs", | ||
"version": "4.0.0-beta.12", | ||
"version": "4.0.0-beta.13", | ||
"description": "GJS TypeScript type definitions for Gjs", | ||
@@ -34,2 +34,7 @@ "type": "module", | ||
}, | ||
"./console": { | ||
"types": "./console.d.ts", | ||
"import": "./console.js", | ||
"default": "./console.js" | ||
}, | ||
"./gjs": { | ||
@@ -50,6 +55,6 @@ "types": "./gjs.d.ts", | ||
"dependencies": { | ||
"@girs/cairo-1.0": "^1.0.0-4.0.0-beta.12", | ||
"@girs/gio-2.0": "^2.80.3-4.0.0-beta.12", | ||
"@girs/glib-2.0": "^2.80.3-4.0.0-beta.12", | ||
"@girs/gobject-2.0": "^2.80.3-4.0.0-beta.12" | ||
"@girs/cairo-1.0": "^1.0.0-4.0.0-beta.13", | ||
"@girs/gio-2.0": "^2.80.3-4.0.0-beta.13", | ||
"@girs/glib-2.0": "^2.80.3-4.0.0-beta.13", | ||
"@girs/gobject-2.0": "^2.80.3-4.0.0-beta.13" | ||
}, | ||
@@ -56,0 +61,0 @@ "devDependencies": { |
@@ -7,3 +7,3 @@ | ||
GJS TypeScript type definitions for Gjs using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.12. | ||
GJS TypeScript type definitions for Gjs using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.13. | ||
@@ -10,0 +10,0 @@ [GJS](https://gitlab.gnome.org/GNOME/gjs) is a JavaScript runtime for the GNOME ecosystem. Using GJS and the type definitions in this NPM package, you can build GTK applications in JavaScript or TypeScript with type checking, better autocompletion and inline documentations. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57701
20
1560