clearer naming convention

This commit is contained in:
johno
2018-12-13 15:50:54 -06:00
parent 1c61e6bc96
commit 7ec68334ae
+2 -2
View File
@@ -1136,8 +1136,8 @@ declare namespace R {
* Given a string, this function checks for the string in another string and returns
* a boolean.
*/
includes(target: string, string: string): boolean;
includes(target: string): (string: string) => boolean;
includes(s: string, string: string): boolean;
includes(s: string): (string: string) => boolean;
includes<T>(target: T, list: ReadonlyArray<T>): boolean;
includes<T>(target: T): (list: ReadonlyArray<T>) => boolean;