mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-20 15:34:26 +08:00
chore: app ui fixes
This commit is contained in:
2
apps/ui/references.d.ts
vendored
2
apps/ui/references.d.ts
vendored
@ -1,2 +1,4 @@
|
|||||||
/// <reference path="../../packages/types-ios/src/lib/ios.d.ts" />
|
/// <reference path="../../packages/types-ios/src/lib/ios.d.ts" />
|
||||||
/// <reference path="../../packages/types-android/src/lib/android-29.d.ts" />
|
/// <reference path="../../packages/types-android/src/lib/android-29.d.ts" />
|
||||||
|
/// <reference path="../../packages/core/global-types.d.ts" />
|
||||||
|
declare let global: NodeJS.Global & typeof globalThis;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { Observable, Frame } from '@nativescript/core';
|
import { Observable, Frame } from '@nativescript/core';
|
||||||
import { Button } from '@nativescript/core/ui/button';
|
import { Button ,tapEvent} from '@nativescript/core/ui/button';
|
||||||
import { Color } from '@nativescript/core/color';
|
import { Color } from '@nativescript/core/color';
|
||||||
import { WrapLayout } from '@nativescript/core/ui/layouts/wrap-layout';
|
import { WrapLayout } from '@nativescript/core/ui/layouts/wrap-layout';
|
||||||
import { alert } from '@nativescript/core/ui/dialogs';
|
import { alert } from '@nativescript/core/ui/dialogs';
|
||||||
|
@ -3,8 +3,9 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"diagnostics": false,
|
"diagnostics": false,
|
||||||
"paths": {
|
"paths": {
|
||||||
"~/*": ["src/*"],
|
"~/*": ["src/*"]
|
||||||
"tns-core-modules/*": ["@nativescript/core/*"]
|
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"include": ["src/**/*", "references.d.ts"],
|
||||||
|
"exclude": ["node_modules", "tmp", "platforms", "__tests__", "e2"]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user