@girs/goocanvas-2.0 2.0.0-3.3.0 → 2.0.0-4.0.0-beta.2

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/README.md CHANGED
@@ -5,9 +5,8 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/goocanvas-2.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for GooCanvas-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.3.0.
8
+ GJS TypeScript type definitions for GooCanvas-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.2.
9
9
 
10
- GooCanvas is a canvas widget for GTK+ that uses the cairo 2D library for drawing.
11
10
 
12
11
  ## Install
13
12
 
@@ -1,7 +1,7 @@
1
1
 
2
2
  declare module 'gi://GooCanvas?version=2.0' {
3
- import GooCanvas20 from '@girs/goocanvas-2.0';
4
- export default GooCanvas20;
3
+ import GooCanvas from '@girs/goocanvas-2.0';
4
+ export default GooCanvas;
5
5
  }
6
6
 
7
7
 
@@ -1,12 +1,2 @@
1
-
2
- import GooCanvas20 from '@girs/goocanvas-2.0';
3
-
4
- declare global {
5
- export interface GjsGiImports {
6
- GooCanvas: typeof GooCanvas20;
7
- }
8
- }
9
-
10
- export default GjsGiImports;
11
-
1
+ // Module import type definition not generated, otherwise this would cause a type conflict, this is because several GIR modules were generated with the same namespace: "GooCanvas"
12
2