Skip to content

Commit 879448e

Browse files
author
vakrilov
committed
chore: typings and refs
1 parent d44d249 commit 879448e

7 files changed

Lines changed: 163 additions & 82 deletions

File tree

‎api-reports/NativeScript.api.md‎

Lines changed: 155 additions & 79 deletions
Large diffs are not rendered by default.

‎nativescript-core/application/application.d.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* @module "application"
44
*/ /** */
55

6-
/// <reference path="../nativescript-error.d.ts" />
76
/// <reference path="../tns-core-modules.d.ts" />
87

98
import { NavigationEntry, View, Observable, EventData } from "../ui/frame";

‎nativescript-core/index.d.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/// <reference path="./tns-core-modules.d.ts" />
2+
13
export { ApplicationEventData, LaunchEventData, OrientationChangedEventData, UnhandledErrorEventData, DiscardedErrorEventData, CssChangedEventData, LoadAppCSSEventData, iOSApplication, AndroidApplication, AndroidActivityEventData, AndroidActivityBundleEventData, AndroidActivityRequestPermissionsEventData, AndroidActivityResultEventData, AndroidActivityNewIntentEventData, AndroidActivityBackPressedEventData, } from "./application";
24
import { getMainEntry, getRootView, setResources, setCssFileName, getCssFileName, loadAppCss, addCss, on, off, run, orientation, getNativeApplication, hasLaunched } from "./application";
35
export declare const Application: {

‎nativescript-core/index.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/// <reference path="./tns-core-modules.d.ts" />
2+
13
// Export all interfaces from "application" module
24
export {
35
ApplicationEventData, LaunchEventData, OrientationChangedEventData,

‎nativescript-core/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@nativescript/core",
33
"main": "index",
4-
"types": "nativescript-core.d.ts",
4+
"types": "index.d.ts",
55
"description": "Telerik NativeScript Core Modules",
66
"version": "6.2.0",
77
"homepage": "https://www.nativescript.org",

‎tns-core-modules-package/package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
22
"name": "tns-core-modules",
3+
"main": "index",
4+
"types": "index.d.ts",
35
"description": "Telerik NativeScript Core Modules",
46
"version": "6.1.0",
57
"homepage": "https://www.nativescript.org",
@@ -8,7 +10,6 @@
810
"url": "https://github.com/NativeScript/NativeScript"
911
},
1012
"license": "Apache-2.0",
11-
"typings": "tns-core-modules.d.ts",
1213
"dependencies": {
1314
"@nativescript/core": "*"
1415
},
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Not needed. Only added for back-compatibility as some apps refer to this file. d

0 commit comments

Comments
 (0)