@ts-for-gir/lib 4.0.0-beta.37 → 4.0.0-beta.38
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 +4 -4
- package/src/types/answer-version.ts +2 -2
- package/src/types/any-introspected-type.ts +3 -1
- package/src/types/class-function-types.ts +41 -33
- package/src/types/class-parent.ts +11 -11
- package/src/types/class.ts +26 -28
- package/src/types/config-flags.ts +2 -2
- package/src/types/construct-name.ts +12 -12
- package/src/types/dependency-map.ts +2 -2
- package/src/types/dependency.ts +45 -45
- package/src/types/file-info.ts +12 -12
- package/src/types/format.ts +1 -1
- package/src/types/generator-constructor.ts +4 -4
- package/src/types/generics-config.ts +1 -1
- package/src/types/gir-any-element.ts +33 -33
- package/src/types/gir-module-interface.ts +5 -5
- package/src/types/gir-module-resolved.ts +1 -1
- package/src/types/gir-type-name.ts +17 -17
- package/src/types/index.ts +88 -90
- package/src/types/inheritance-table.ts +1 -1
- package/src/types/introspected.ts +8 -8
- package/src/types/local-name-check.ts +2 -2
- package/src/types/local-name-type.ts +1 -1
- package/src/types/local-name.ts +5 -5
- package/src/types/local-names.ts +2 -2
- package/src/types/metadata.ts +4 -4
- package/src/types/ns-loader.ts +2 -3
- package/src/types/options-base.ts +6 -6
- package/src/types/options-generation.ts +47 -47
- package/src/types/options-load.ts +3 -3
- package/src/types/options-transform.ts +2 -2
- package/src/types/output-format.ts +1 -1
- package/src/types/package-data-parsed.ts +26 -26
- package/src/types/package-data.ts +21 -21
- package/src/types/package-section-parsed.ts +6 -6
- package/src/types/parsed-gir.ts +2 -2
- package/src/types/parsed-package-data.ts +4 -4
- package/src/types/property-case.ts +1 -1
- package/src/types/resolve-type.ts +2 -2
- package/src/types/template-data.ts +5 -5
- package/src/types/template-options.ts +1 -1
- package/src/types/transformation-case.ts +8 -8
- package/src/types/transformations.ts +2 -2
- package/src/types/ts-doc-tag.ts +12 -12
- package/src/types/ts-doc.ts +9 -9
- package/src/types/type-gir-alias.ts +1 -1
- package/src/types/type-gir-class.ts +1 -1
- package/src/types/type-gir-element.ts +21 -21
- package/src/types/type-gir-enumeration-member.ts +1 -1
- package/src/types/type-gir-enumeration.ts +1 -1
- package/src/types/type-gir-function.ts +7 -7
- package/src/types/type-gir-interface.ts +1 -1
- package/src/types/type-gir-method.ts +1 -1
- package/src/types/type-gir-parameter.ts +1 -1
- package/src/types/type-gir-property.ts +1 -1
- package/src/types/type-gir-variable.ts +1 -1
- package/src/types/type-ts-element.ts +10 -10
- package/src/types/type-ts-enumeration-member.ts +1 -1
- package/src/types/type-ts-function.ts +1 -1
- package/src/types/type-ts-property.ts +1 -1
- package/src/types/user-config-load-result.ts +4 -4
- package/src/types/user-config.ts +53 -53
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ts-for-gir/lib",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.38",
|
|
4
4
|
"description": "Typescript .d.ts generator from GIR for gjs",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"module": "src/index.ts",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"typescript": "^5.9.2"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@gi.ts/parser": "^4.0.0-beta.
|
|
52
|
-
"@ts-for-gir/reporter": "^4.0.0-beta.
|
|
53
|
-
"@ts-for-gir/templates": "^4.0.0-beta.
|
|
51
|
+
"@gi.ts/parser": "^4.0.0-beta.38",
|
|
52
|
+
"@ts-for-gir/reporter": "^4.0.0-beta.38",
|
|
53
|
+
"@ts-for-gir/templates": "^4.0.0-beta.38",
|
|
54
54
|
"colorette": "^2.0.20",
|
|
55
55
|
"ejs": "^3.1.10",
|
|
56
56
|
"glob": "^11.0.3",
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import type { IntrospectedBase } from "../gir/introspected-base.ts";
|
|
2
|
+
import type { IntrospectedNamespace } from "../gir/namespace.ts";
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
// Recursive type representing any IntrospectedBase with a valid parent constraint
|
|
5
|
+
export type AnyIntrospectedType = IntrospectedBase<IntrospectedNamespace | AnyIntrospectedType | null>;
|
|
@@ -1,49 +1,57 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { IntrospectedEnum } from "../gir/enum.ts";
|
|
2
|
+
import type { IntrospectedBaseClass, IntrospectedClassFunction } from "../gir/introspected-classes.ts";
|
|
2
3
|
import type { IntrospectedFunctionParameter } from "../gir/parameter.ts";
|
|
4
|
+
import type { Generic, TypeExpression } from "../gir.ts";
|
|
3
5
|
import type { GirVisitor } from "../visitor.ts";
|
|
4
6
|
|
|
5
7
|
export interface ClassFunctionCopyOptions<Parent> {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
parent?: Parent;
|
|
9
|
+
name?: string;
|
|
10
|
+
interfaceParent?: IntrospectedBaseClass | IntrospectedEnum; // avoid circular deps by importing types only
|
|
11
|
+
parameters?: IntrospectedFunctionParameter[];
|
|
12
|
+
outputParameters?: IntrospectedFunctionParameter[];
|
|
13
|
+
returnType?: TypeExpression;
|
|
12
14
|
}
|
|
13
15
|
|
|
14
16
|
export interface ClassFunctionOptions<Parent> {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
name: string;
|
|
18
|
+
parameters?: IntrospectedFunctionParameter[];
|
|
19
|
+
output_parameters?: IntrospectedFunctionParameter[];
|
|
20
|
+
return_type?: TypeExpression;
|
|
21
|
+
parent: Parent;
|
|
22
|
+
originalParent?: Parent | null;
|
|
23
|
+
doc?: string | null;
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
// Type discriminators for function types
|
|
25
27
|
export const FunctionTypeKind = {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
CLASS_FUNCTION: "CLASS_FUNCTION",
|
|
29
|
+
VIRTUAL_CLASS_FUNCTION: "VIRTUAL_CLASS_FUNCTION",
|
|
30
|
+
STATIC_CLASS_FUNCTION: "STATIC_CLASS_FUNCTION",
|
|
31
|
+
CONSTRUCTOR: "CONSTRUCTOR",
|
|
30
32
|
} as const;
|
|
31
33
|
|
|
32
|
-
export type FunctionTypeKind = typeof FunctionTypeKind[keyof typeof FunctionTypeKind];
|
|
34
|
+
export type FunctionTypeKind = (typeof FunctionTypeKind)[keyof typeof FunctionTypeKind];
|
|
33
35
|
|
|
34
36
|
// Base interface for all class functions to enable type checking
|
|
35
37
|
export interface ClassFunctionLike {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
38
|
+
readonly __functionTypeKind: FunctionTypeKind;
|
|
39
|
+
readonly parameters: IntrospectedFunctionParameter[];
|
|
40
|
+
readonly output_parameters: IntrospectedFunctionParameter[];
|
|
41
|
+
readonly generics: Generic[];
|
|
42
|
+
returnTypeDoc?: string | null;
|
|
43
|
+
interfaceParent?: IntrospectedBaseClass | IntrospectedEnum | null;
|
|
44
|
+
|
|
45
|
+
anyify(): IntrospectedClassFunction;
|
|
46
|
+
shouldAnyify(): boolean;
|
|
47
|
+
return(): TypeExpression;
|
|
48
|
+
getCallbackParameters(): {
|
|
49
|
+
name: string;
|
|
50
|
+
parent: IntrospectedBaseClass | IntrospectedEnum;
|
|
51
|
+
output_parameters: IntrospectedFunctionParameter[];
|
|
52
|
+
parameters: IntrospectedFunctionParameter[];
|
|
53
|
+
return_type: TypeExpression;
|
|
54
|
+
};
|
|
55
|
+
copy(options?: ClassFunctionCopyOptions<IntrospectedBaseClass | IntrospectedEnum>): IntrospectedClassFunction;
|
|
56
|
+
accept(visitor: GirVisitor): IntrospectedClassFunction;
|
|
57
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type { GirClassElement,
|
|
1
|
+
import type { GirClassElement, GirInterfaceElement, GirRecordElement, GirUnionElement, TypeGirClass } from "./index.ts";
|
|
2
2
|
|
|
3
3
|
export interface ClassParent {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
4
|
+
parentName: string;
|
|
5
|
+
qualifiedParentName: string;
|
|
6
|
+
/** qualified if its module != qualifiedName's module */
|
|
7
|
+
localParentName: string;
|
|
8
|
+
type: "parent" | "prerequisite" | "implements";
|
|
9
|
+
/** Parent class / interface */
|
|
10
|
+
cls?: GirClassElement | GirUnionElement | GirInterfaceElement | GirRecordElement;
|
|
11
|
+
girTypeName: TypeGirClass;
|
|
12
|
+
/** True if the parent dependency exists */
|
|
13
|
+
dependencyExists: boolean;
|
|
14
14
|
}
|
package/src/types/class.ts
CHANGED
|
@@ -1,45 +1,43 @@
|
|
|
1
|
+
import type { IntrospectedConstructor } from "../gir/constructor.ts";
|
|
1
2
|
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
IntrospectedBaseClass,
|
|
4
|
+
IntrospectedClass,
|
|
5
|
+
IntrospectedClassCallback,
|
|
6
|
+
IntrospectedClassFunction,
|
|
7
|
+
IntrospectedInterface,
|
|
6
8
|
} from "../gir/introspected-classes.ts";
|
|
7
|
-
import type {
|
|
8
|
-
import type { IntrospectedClassCallback } from "../gir/introspected-classes.ts";
|
|
9
|
-
import type { IntrospectedProperty, IntrospectedField } from "../gir/property.ts";
|
|
10
|
-
import type { IntrospectedBaseClass } from "../gir/introspected-classes.ts";
|
|
11
|
-
import type { IntrospectedInterface } from "../gir/introspected-classes.ts";
|
|
12
|
-
import type { IntrospectedClass } from "../gir/introspected-classes.ts";
|
|
9
|
+
import type { IntrospectedField, IntrospectedProperty } from "../gir/property.ts";
|
|
13
10
|
import type { IntrospectedRecord } from "../gir/record.ts";
|
|
11
|
+
import type { TypeIdentifier } from "../gir.ts";
|
|
14
12
|
|
|
15
13
|
export interface ClassDefinition {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
14
|
+
superType: TypeIdentifier;
|
|
15
|
+
interfaces: TypeIdentifier[];
|
|
16
|
+
mainConstructor: IntrospectedConstructor;
|
|
17
|
+
constructors: IntrospectedConstructor[];
|
|
18
|
+
members: IntrospectedClassFunction[];
|
|
19
|
+
props: IntrospectedProperty[];
|
|
20
|
+
fields: IntrospectedField[];
|
|
21
|
+
callbacks: IntrospectedClassCallback[];
|
|
24
22
|
}
|
|
25
23
|
|
|
26
24
|
export interface ResolutionNode {
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
identifier: TypeIdentifier;
|
|
26
|
+
node: IntrospectedBaseClass;
|
|
29
27
|
}
|
|
30
28
|
|
|
31
29
|
export interface InterfaceResolution extends ResolutionNode, Iterable<InterfaceResolution | ClassResolution> {
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
extends(): InterfaceResolution | ClassResolution | undefined;
|
|
31
|
+
node: IntrospectedInterface;
|
|
34
32
|
}
|
|
35
33
|
|
|
36
34
|
export interface ClassResolution extends ResolutionNode, Iterable<ClassResolution> {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
35
|
+
extends(): ClassResolution | undefined;
|
|
36
|
+
implements(): InterfaceResolution[];
|
|
37
|
+
node: IntrospectedClass;
|
|
40
38
|
}
|
|
41
39
|
|
|
42
40
|
export interface RecordResolution extends ResolutionNode, Iterable<RecordResolution> {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
41
|
+
extends(): RecordResolution | undefined;
|
|
42
|
+
node: IntrospectedRecord;
|
|
43
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export type ConstructName =
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
| "functionName"
|
|
3
|
+
| "enumMember"
|
|
4
|
+
| "signalName"
|
|
5
|
+
| "fieldName"
|
|
6
|
+
| "constantName"
|
|
7
|
+
| "constructorPropertyName"
|
|
8
|
+
| "propertyName"
|
|
9
|
+
| "parameterName"
|
|
10
|
+
| "enumName"
|
|
11
|
+
| "importNamespaceName"
|
|
12
|
+
| "signalInterfaceName"
|
|
13
|
+
| "importName";
|
package/src/types/dependency.ts
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { LibraryVersion } from
|
|
3
|
-
import type {
|
|
1
|
+
import type { GirXML } from "@gi.ts/parser";
|
|
2
|
+
import type { LibraryVersion } from "../library-version.ts";
|
|
3
|
+
import type { FileInfo } from "./index.ts";
|
|
4
4
|
|
|
5
5
|
export interface Dependency extends FileInfo {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
6
|
+
/**
|
|
7
|
+
* E.g. 'Gtk'
|
|
8
|
+
*/
|
|
9
|
+
namespace: string;
|
|
10
|
+
/**
|
|
11
|
+
* E.g. 'Gtk40'
|
|
12
|
+
* Is used in the generated index.d.ts, for example: `import * as Gtk40 from "./Gtk-4.0.ts";`
|
|
13
|
+
*/
|
|
14
|
+
importNamespace: string;
|
|
15
|
+
/**
|
|
16
|
+
* E.g. '4.0'
|
|
17
|
+
*/
|
|
18
|
+
version: string;
|
|
19
|
+
/**
|
|
20
|
+
* E.g. '4.14.0'
|
|
21
|
+
*/
|
|
22
|
+
libraryVersion: LibraryVersion;
|
|
23
|
+
/**
|
|
24
|
+
* E.g. 'Gtk-4.0'
|
|
25
|
+
*/
|
|
26
|
+
packageName: string;
|
|
27
|
+
/**
|
|
28
|
+
* The NPM package name
|
|
29
|
+
* E.g. 'gtk-4.0'
|
|
30
|
+
*/
|
|
31
|
+
importName: string;
|
|
32
|
+
/**
|
|
33
|
+
* Import path for the package
|
|
34
|
+
* E.g. './Gtk-4.0.ts' or '@girs/Gtk-4.0'
|
|
35
|
+
*/
|
|
36
|
+
importPath: string;
|
|
37
|
+
/**
|
|
38
|
+
* Import definition for the package
|
|
39
|
+
* E.g. `import type Gtk from '@girs/Gtk-3.0'`
|
|
40
|
+
*/
|
|
41
|
+
importDef: string;
|
|
42
|
+
/**
|
|
43
|
+
* Complete dependency string for package.json
|
|
44
|
+
* E.g. `"@girs/gtk-4.0": "workspace:^"`
|
|
45
|
+
*/
|
|
46
|
+
packageJsonImport: string;
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
girXML: GirXML | null;
|
|
49
49
|
}
|
package/src/types/file-info.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export interface FileInfo {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
/**
|
|
3
|
+
* The path to the gir file or null if the file does not exist
|
|
4
|
+
*/
|
|
5
|
+
path: string | null;
|
|
6
|
+
/**
|
|
7
|
+
* The filename of the gir file
|
|
8
|
+
*/
|
|
9
|
+
filename: string;
|
|
10
|
+
/**
|
|
11
|
+
* Whether the file exists or not
|
|
12
|
+
*/
|
|
13
|
+
exists: boolean;
|
|
14
14
|
}
|
package/src/types/format.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export type Format =
|
|
1
|
+
export type Format = "dts" | "json";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { FormatGenerator } from "../generators/generator.ts";
|
|
1
2
|
import type { IntrospectedNamespace } from "../gir/namespace.ts";
|
|
2
3
|
import type { OptionsGeneration } from "./options-generation.ts";
|
|
3
|
-
import type { FormatGenerator } from "../generators/generator.ts";
|
|
4
4
|
|
|
5
|
-
export type GeneratorConstructor<T> = {
|
|
6
|
-
|
|
7
|
-
};
|
|
5
|
+
export type GeneratorConstructor<T> = {
|
|
6
|
+
new (namespace: IntrospectedNamespace, options: OptionsGeneration, ...args: unknown[]): FormatGenerator<T>;
|
|
7
|
+
};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from
|
|
2
|
+
GirAliasElement,
|
|
3
|
+
GirBitfieldElement,
|
|
4
|
+
GirCallbackElement,
|
|
5
|
+
GirClassElement,
|
|
6
|
+
GirConstantElement,
|
|
7
|
+
GirConstructorElement,
|
|
8
|
+
GirEnumElement,
|
|
9
|
+
GirFieldElement,
|
|
10
|
+
GirFunctionElement,
|
|
11
|
+
GirInterfaceElement,
|
|
12
|
+
GirMethodElement,
|
|
13
|
+
GirPropertyElement,
|
|
14
|
+
GirRecordElement,
|
|
15
|
+
GirSignalElement,
|
|
16
|
+
GirUnionElement,
|
|
17
|
+
GirVirtualMethodElement,
|
|
18
|
+
} from "./index.ts";
|
|
19
19
|
export type GirAnyElement =
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
20
|
+
| GirBitfieldElement
|
|
21
|
+
| GirCallbackElement
|
|
22
|
+
| GirClassElement
|
|
23
|
+
| GirConstantElement
|
|
24
|
+
| GirEnumElement
|
|
25
|
+
| GirFunctionElement
|
|
26
|
+
| GirInterfaceElement
|
|
27
|
+
| GirRecordElement
|
|
28
|
+
| GirUnionElement
|
|
29
|
+
| GirAliasElement
|
|
30
|
+
| GirMethodElement
|
|
31
|
+
| GirVirtualMethodElement
|
|
32
|
+
| GirSignalElement
|
|
33
|
+
| GirConstructorElement
|
|
34
|
+
| GirFieldElement
|
|
35
|
+
| GirPropertyElement;
|
|
@@ -7,16 +7,16 @@ import type { Dependency } from "./dependency.ts";
|
|
|
7
7
|
export interface IGirModule {
|
|
8
8
|
/** Package name like 'Gtk-4.0' */
|
|
9
9
|
readonly packageName: string;
|
|
10
|
-
|
|
10
|
+
|
|
11
11
|
/** Direct dependencies of this module */
|
|
12
12
|
readonly dependencies: Dependency[];
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
/** All transitive dependencies of this module */
|
|
15
15
|
readonly transitiveDependencies: Dependency[];
|
|
16
|
-
|
|
16
|
+
|
|
17
17
|
/** Initialize transitive dependencies */
|
|
18
18
|
initTransitiveDependencies(dependencies: Dependency[]): Promise<void>;
|
|
19
|
-
|
|
19
|
+
|
|
20
20
|
/** Parse the module contents */
|
|
21
21
|
parse(): void;
|
|
22
|
-
}
|
|
22
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from
|
|
2
|
+
TypeGirAlias,
|
|
3
|
+
TypeGirClass,
|
|
4
|
+
TypeGirElement,
|
|
5
|
+
TypeGirEnumerationMember,
|
|
6
|
+
TypeGirFunction,
|
|
7
|
+
TypeGirProperty,
|
|
8
|
+
TypeGirVariable,
|
|
9
|
+
} from "./index.ts";
|
|
10
10
|
|
|
11
11
|
export type GirTypeName =
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
12
|
+
| TypeGirFunction
|
|
13
|
+
| TypeGirElement
|
|
14
|
+
| TypeGirEnumerationMember
|
|
15
|
+
| TypeGirProperty
|
|
16
|
+
| TypeGirClass
|
|
17
|
+
| TypeGirAlias
|
|
18
|
+
| TypeGirVariable
|
|
19
|
+
| "callable-param"
|
|
20
|
+
| "callable-return";
|