@girs/cogl-12 12.0.0-3.3.0 → 12.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,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/cogl-12)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Cogl-12, generated from library version 12.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.3.0.
8
+ GJS TypeScript type definitions for Cogl-12, generated from library version 12.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.2.
9
9
 
10
10
 
11
11
  ## Install
@@ -1,7 +1,7 @@
1
1
 
2
2
  declare module 'gi://Cogl?version=12' {
3
- import Cogl12 from '@girs/cogl-12';
4
- export default Cogl12;
3
+ import Cogl from '@girs/cogl-12';
4
+ export default Cogl;
5
5
  }
6
6
 
7
7
 
@@ -1,12 +1,2 @@
1
-
2
- import Cogl12 from '@girs/cogl-12';
3
-
4
- declare global {
5
- export interface GjsGiImports {
6
- Cogl: typeof Cogl12;
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: "Cogl"
12
2