UNPKG

@ts-for-gir/lib

Version:

Typescript .d.ts generator from GIR for gjs

28 lines 1.06 kB
import { IntrospectedProperty } from "../index.js"; export default { namespace: "Gee", version: "1.0", modifier(namespace) { const AbstractList = namespace.assertClass("AbstractList"); const LinkedList = namespace.assertClass("LinkedList"); if (AbstractList.props.some(prop => prop.name === "readOnlyView")) LinkedList.props.push(new IntrospectedProperty({ name: "readOnlyView", type: LinkedList.getType(), readable: true, writable: false, constructOnly: false, parent: LinkedList })); if (AbstractList.props.some(prop => prop.name === "read_only_view")) LinkedList.props.push(new IntrospectedProperty({ name: "read_only_view", type: LinkedList.getType(), readable: true, writable: false, constructOnly: false, parent: LinkedList })); } }; //# sourceMappingURL=gee1.js.map