We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f1ec7a commit 8975cd7Copy full SHA for 8975cd7
src/lib/es2015.iterable.d.ts
@@ -63,6 +63,26 @@ interface ArrayConstructor {
63
from<T>(iterable: Iterable<T>): Array<T>;
64
}
65
66
+interface ReadonlyArray<T> {
67
+ /** Iterator */
68
+ [Symbol.iterator](): IterableIterator<T>;
69
+
70
+ /**
71
+ * Returns an array of key, value pairs for every entry in the array
72
+ */
73
+ entries(): IterableIterator<[number, T]>;
74
75
76
+ * Returns an list of keys in the array
77
78
+ keys(): IterableIterator<number>;
79
80
81
+ * Returns an list of values in the array
82
83
+ values(): IterableIterator<T>;
84
+}
85
86
interface IArguments {
87
/** Iterator */
88
[Symbol.iterator](): IterableIterator<any>;
0 commit comments