mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
updated camera & console
This commit is contained in:
5
console/console.d.ts
vendored
5
console/console.d.ts
vendored
@@ -61,4 +61,9 @@ export declare class Console {
|
||||
* @param obj The object instance to be dumped.
|
||||
*/
|
||||
public dump(obj: any): void;
|
||||
|
||||
/**
|
||||
* Prints the state of the specified object to the console.
|
||||
*/
|
||||
public dir(obj: any): void;
|
||||
}
|
||||
@@ -320,4 +320,6 @@ export class Console {
|
||||
result.push('=== dump(): finished ===');
|
||||
this.log(result.join('\n'));
|
||||
}
|
||||
}
|
||||
|
||||
public dir = this.dump;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user