Skip to content

Commit cc96b67

Browse files
Alexander Vakrilovetabakov
authored andcommitted
chore(docs): Update method descriptions (NativeScript#4913)
* chore(docs): Update method descriptions * Fix grammar
1 parent 3891f3d commit cc96b67

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎tns-core-modules/utils/types.d.ts‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,21 +67,21 @@ export function verifyCallback(value: any): void;
6767

6868
/**
6969
* A function that gets the class name of an object.
70-
* @param object The object which class will be get.
70+
* @param object The object.
7171
* Returns a string with the name of the class.
7272
*/
7373
export function getClass(object): string;
7474

7575
/**
7676
* A function that gets the entire class hierarchy of an object.
77-
* @param object The object which class hierarchy will be get.
78-
* Return an array of strings with the name of all classes.
77+
* @param object The object.
78+
* Returns an array of strings with the name of all base classes.
7979
*/
8080
export function getBaseClasses(object): Array<string>;
8181

8282
/**
8383
* A function that gets the ClassInfo for an object.
84-
* @param object The object for which the ClassInfo will be get.
84+
* @param object The object.
8585
* Returns a ClassInfo for the object.
8686
*/
8787
export function getClassInfo(object: Object): ClassInfo;
@@ -102,7 +102,7 @@ export class ClassInfo {
102102
}
103103

104104
/**
105-
* Returns a string representation of a string to be shown in UI.
106-
* @param object The object which class hierarchy will be get.
105+
* Returns a string representation of an object to be shown in UI.
106+
* @param object The object.
107107
*/
108108
export function toUIString(object): string;

0 commit comments

Comments
 (0)