-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathreference.d.ts
34 lines (34 loc) · 996 Bytes
/
reference.d.ts
1
2
3
4
5
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
/**
* Copyright (c) 2016-present, IBM Research
* Licensed under The MIT License [see LICENSE for details]
*/
export = Reference;
declare class Reference extends Node {
/** Constructs a new reference node object.
*
* @param {string | null} [id] Some if string for this node. Deprecated: json object, which will deserialized as a Reference;
* @param {string | null} [refId] Id of the referenced entity.
* @param {string | null} [parent] optional parent id.
*/
constructor(id?: string | null | undefined, refId?: string | null | undefined, parent?: string | null | undefined, ...args: any[]);
/**
*
* Id of referenced entity. Might be null.
*
* @public
* @type {string | null}
*
*/
public ref: string | null;
type: "ref";
serialize: () => {
id: any;
type: "ref";
ref: any;
parent: any;
};
}
declare namespace Reference {
const type: "ref";
}
import Node = require("./node");