@girs/gtksource-3.0 3.0.0-3.3.0 → 3.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/gtksource-3.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for GtkSource-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.3.0.
8
+ GJS TypeScript type definitions for GtkSource-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.2.
9
9
 
10
- GtkSourceView is a portable C library that extends the standard GTK+ framework for multiline text editing with support for configurable syntax highlighting, unlimited undo/redo, search and replace, a completion framework, printing and other features typical of a source code editor.
11
10
 
12
11
  ## Install
13
12
 
@@ -1,7 +1,7 @@
1
1
 
2
2
  declare module 'gi://GtkSource?version=3.0' {
3
- import GtkSource30 from '@girs/gtksource-3.0';
4
- export default GtkSource30;
3
+ import GtkSource from '@girs/gtksource-3.0';
4
+ export default GtkSource;
5
5
  }
6
6
 
7
7
 
@@ -1,12 +1,2 @@
1
-
2
- import GtkSource30 from '@girs/gtksource-3.0';
3
-
4
- declare global {
5
- export interface GjsGiImports {
6
- GtkSource: typeof GtkSource30;
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: "GtkSource"
12
2