mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 11:01:21 +08:00
chore(docs): Update method descriptions (#4913)
* chore(docs): Update method descriptions * Fix grammar
This commit is contained in:

committed by
Emil Tabakov

parent
3891f3d3d2
commit
cc96b67e4e
12
tns-core-modules/utils/types.d.ts
vendored
12
tns-core-modules/utils/types.d.ts
vendored
@ -67,21 +67,21 @@ export function verifyCallback(value: any): void;
|
||||
|
||||
/**
|
||||
* A function that gets the class name of an object.
|
||||
* @param object The object which class will be get.
|
||||
* @param object The object.
|
||||
* Returns a string with the name of the class.
|
||||
*/
|
||||
export function getClass(object): string;
|
||||
|
||||
/**
|
||||
* A function that gets the entire class hierarchy of an object.
|
||||
* @param object The object which class hierarchy will be get.
|
||||
* Return an array of strings with the name of all classes.
|
||||
* @param object The object.
|
||||
* Returns an array of strings with the name of all base classes.
|
||||
*/
|
||||
export function getBaseClasses(object): Array<string>;
|
||||
|
||||
/**
|
||||
* A function that gets the ClassInfo for an object.
|
||||
* @param object The object for which the ClassInfo will be get.
|
||||
* @param object The object.
|
||||
* Returns a ClassInfo for the object.
|
||||
*/
|
||||
export function getClassInfo(object: Object): ClassInfo;
|
||||
@ -102,7 +102,7 @@ export class ClassInfo {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a string representation of a string to be shown in UI.
|
||||
* @param object The object which class hierarchy will be get.
|
||||
* Returns a string representation of an object to be shown in UI.
|
||||
* @param object The object.
|
||||
*/
|
||||
export function toUIString(object): string;
|
||||
|
Reference in New Issue
Block a user