idlize
1import { int32 } from "@koalaui/common"
2import { pointer } from "@koalaui/interop"
3import { Finalizable } from "./Finalizable"
4import { ArkUINodeType } from "./ArkUINodeType"
5
6export class NativePeerNode extends Finalizable {
7public constructor(ptr: pointer) {
8super(ptr)
9}
10}
11
12export class PeerNode extends Finalizable {
13peer: NativePeerNode
14constructor(type: ArkUINodeType, flags: int32) {
15// TODO: rework
16super(42)
17this.peer = new NativePeerNode(42)
18}
19applyAttributes(attrs: Object) {}
20}
21