mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 11:01:21 +08:00

It is used by `application.d.ts` and needs to be documented. The reason that it wasn't included in the documentation by now is that `tns-core-modules.d.ts` (which imports `module.d.ts`) defines types which are part of the internal modules and runtimes APIs. As such they are excluded from the generation of API documentation.
10 lines
293 B
TypeScript
10 lines
293 B
TypeScript
/**
|
|
* An extended JavaScript Error which will have the nativeError property initialized in case the error is caused by executing platform-specific code.
|
|
*/
|
|
declare interface NativeScriptError extends Error {
|
|
/**
|
|
* Represents the native error object.
|
|
*/
|
|
nativeError: any;
|
|
}
|