blob: 38142fa53319a9316144f463fcfc1c09db961582 (
plain)
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
|
import { IAny, Any } from "./Any";
export interface IRepeated extends IAny {
value: Any;
local: boolean;
}
export type RepeatedParams = Partial<IRepeated>;
export class Repeated extends Any {
public value: Any;
public local: boolean;
constructor({
value = new Any(),
local = false,
...parameters
}: RepeatedParams = {}) {
super(parameters);
this.value = value;
this.local = local; // Could local or global array to store elements
}
}
|