-
-
Save rynop/5156d00932b17937cc8889f2a0581f03 to your computer and use it in GitHub Desktop.
angular tns 6.1.0 crash log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/p/v6test2 $ tns run ios | |
Searching for devices... | |
Copying template files... | |
Platform ios successfully added. v6.1.0 | |
Preparing project... | |
File change detected. Starting incremental webpack compilation... | |
webpack is watching the files… | |
Hash: 888d2601793d917ba630 | |
Version: webpack 4.27.1 | |
Time: 6275ms | |
Built at: 09/10/2019 2:33:20 PM | |
Asset Size Chunks Chunk Names | |
bundle.js 3 MiB bundle [emitted] bundle | |
package.json 112 bytes [emitted] | |
runtime.js 71.4 KiB runtime [emitted] runtime | |
tns_modules/tns-core-modules/inspector_modules.js 2.08 MiB tns_modules/tns-core-modules/inspector_modules [emitted] tns_modules/tns-core-modules/inspector_modules | |
vendor.js 255 KiB vendor [emitted] vendor | |
Entrypoint bundle = runtime.js vendor.js bundle.js | |
Entrypoint tns_modules/tns-core-modules/inspector_modules = runtime.js vendor.js tns_modules/tns-core-modules/inspector_modules.js | |
[../../NativeScript/tns-core-modules/bundle-entry-points.ts] /Users/ryan/projects/NativeScript/tns-core-modules/bundle-entry-points.ts 4.03 KiB {bundle} [built] | |
[../../NativeScript/tns-core-modules/debugger/InspectorBackendCommands.ts] /Users/ryan/projects/NativeScript/tns-core-modules/debugger/InspectorBackendCommands.ts 17.3 KiB {tns_modules/tns-core-modules/inspector_modules} [built] | |
[../../NativeScript/tns-core-modules/debugger/debugger.ts] /Users/ryan/projects/NativeScript/tns-core-modules/debugger/debugger.ts 4.06 KiB {bundle} {tns_modules/tns-core-modules/inspector_modules} [built] | |
[../../NativeScript/tns-core-modules/debugger/devtools-elements.ts] /Users/ryan/projects/NativeScript/tns-core-modules/debugger/devtools-elements.ts 1.21 KiB {tns_modules/tns-core-modules/inspector_modules} [built] | |
[../../NativeScript/tns-core-modules/debugger/webinspector-css.ts] /Users/ryan/projects/NativeScript/tns-core-modules/debugger/webinspector-css.ts 2.13 KiB {tns_modules/tns-core-modules/inspector_modules} [built] | |
[../../NativeScript/tns-core-modules/debugger/webinspector-dom.ts] /Users/ryan/projects/NativeScript/tns-core-modules/debugger/webinspector-dom.ts 2.66 KiB {tns_modules/tns-core-modules/inspector_modules} [built] | |
[../../NativeScript/tns-core-modules/debugger/webinspector-network.ts] /Users/ryan/projects/NativeScript/tns-core-modules/debugger/webinspector-network.ts 7.73 KiB {tns_modules/tns-core-modules/inspector_modules} [built] | |
[../../NativeScript/tns-core-modules/globals/globals.ts] /Users/ryan/projects/NativeScript/tns-core-modules/globals/globals.ts 228 bytes {bundle} {tns_modules/tns-core-modules/inspector_modules} [built] | |
[../../NativeScript/tns-core-modules/globals/ts-helpers.ts] /Users/ryan/projects/NativeScript/tns-core-modules/globals/ts-helpers.ts 681 bytes {bundle} {tns_modules/tns-core-modules/inspector_modules} [built] | |
[../../NativeScript/tns-core-modules/inspector_modules.ts] /Users/ryan/projects/NativeScript/tns-core-modules/inspector_modules.ts 254 bytes {tns_modules/tns-core-modules/inspector_modules} [built] | |
[../../NativeScript/tns-core-modules/text/formatted-string.ts] /Users/ryan/projects/NativeScript/tns-core-modules/text/formatted-string.ts 6.13 KiB {bundle} {tns_modules/tns-core-modules/inspector_modules} [built] | |
[../../NativeScript/tns-core-modules/text/span.ts] /Users/ryan/projects/NativeScript/tns-core-modules/text/span.ts 2.72 KiB {bundle} {tns_modules/tns-core-modules/inspector_modules} [built] | |
[../../NativeScript/tns-core-modules/ui/action-bar/action-bar.ts] /Users/ryan/projects/NativeScript/tns-core-modules/ui/action-bar/action-bar.ts 15.6 KiB {bundle} [built] | |
[../../NativeScript/tns-core-modules/ui/activity-indicator/activity-indicator.ts] /Users/ryan/projects/NativeScript/tns-core-modules/ui/activity-indicator/activity-indicator.ts 2.07 KiB {bundle} [built] | |
[./main.ts] 926 bytes {bundle} [built] | |
+ 182 hidden modules | |
ERROR in node_modules/tns-core-modules/application/application-common.ts:36:5 - error TS2305: Module '"./application"' has no exported member 'AndroidApplication'. | |
36 AndroidApplication, | |
~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application-common.ts:37:5 - error TS2303: Circular definition of import alias 'CssChangedEventData'. | |
37 CssChangedEventData, | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application-common.ts:38:5 - error TS2303: Circular definition of import alias 'DiscardedErrorEventData'. | |
38 DiscardedErrorEventData, | |
~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application-common.ts:39:5 - error TS2724: Module '"./application"' has no exported member 'iOSApplication'. Did you mean 'setApplication'? | |
39 iOSApplication, | |
~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application-common.ts:85:17 | |
85 export function setApplication(instance: iOSApplication | AndroidApplication): void { | |
~~~~~~~~~~~~~~ | |
'setApplication' is declared here. | |
node_modules/tns-core-modules/application/application-common.ts:40:5 - error TS2303: Circular definition of import alias 'LoadAppCSSEventData'. | |
40 LoadAppCSSEventData, | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application-common.ts:41:5 - error TS2303: Circular definition of import alias 'UnhandledErrorEventData'. | |
41 UnhandledErrorEventData | |
~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:39:25 - error TS2304: Cannot find name 'UIResponder'. | |
39 const Responder = (<any>UIResponder).extend({ | |
~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:47:21 - error TS2304: Cannot find name 'UIApplicationDelegate'. | |
47 protocols: [UIApplicationDelegate] | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:51:36 - error TS2304: Cannot find name 'NSObject'. | |
51 class NotificationObserver extends NSObject { | |
~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:52:48 - error TS2304: Cannot find name 'NSNotification'. | |
52 private _onReceiveCallback: (notification: NSNotification) => void; | |
~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:54:70 - error TS2304: Cannot find name 'NSNotification'. | |
54 public static initWithCallback(onReceiveCallback: (notification: NSNotification) => void): NotificationObserver { | |
~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:61:36 - error TS2304: Cannot find name 'NSNotification'. | |
61 public onReceive(notification: NSNotification): void { | |
~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:66:33 - error TS2304: Cannot find name 'interop'. | |
66 "onReceive": { returns: interop.types.void, params: [NSNotification] } | |
~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:66:62 - error TS2304: Cannot find name 'NSNotification'. | |
66 "onReceive": { returns: interop.types.void, params: [NSNotification] } | |
~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:73:35 - error TS2304: Cannot find name 'NSObject'. | |
73 class CADisplayLinkTarget extends NSObject { | |
~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:74:23 - error TS2304: Cannot find name 'CADisplayLink'. | |
74 onDisplayed(link: CADisplayLink) { | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:76:21 - error TS2304: Cannot find name 'UIApplication'. | |
76 const ios = UIApplication.sharedApplication; | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:84:35 - error TS2304: Cannot find name 'interop'. | |
84 "onDisplayed": { returns: interop.types.void, params: [CADisplayLink] } | |
~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:84:64 - error TS2304: Cannot find name 'CADisplayLink'. | |
84 "onDisplayed": { returns: interop.types.void, params: [CADisplayLink] } | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:89:31 - error TS2304: Cannot find name 'UIApplicationDelegate'. | |
89 private _delegate: typeof UIApplicationDelegate; | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:90:22 - error TS2304: Cannot find name 'UIWindow'. | |
90 private _window: UIWindow; | |
~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:97:38 - error TS2304: Cannot find name 'UIApplicationDidFinishLaunchingNotification'. | |
97 this.addNotificationObserver(UIApplicationDidFinishLaunchingNotification, this.didFinishLaunchingWithOptions.bind(this)); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:98:38 - error TS2304: Cannot find name 'UIApplicationDidBecomeActiveNotification'. | |
98 this.addNotificationObserver(UIApplicationDidBecomeActiveNotification, this.didBecomeActive.bind(this)); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:99:38 - error TS2304: Cannot find name 'UIApplicationDidEnterBackgroundNotification'. | |
99 this.addNotificationObserver(UIApplicationDidEnterBackgroundNotification, this.didEnterBackground.bind(this)); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:100:38 - error TS2304: Cannot find name 'UIApplicationWillTerminateNotification'. | |
100 this.addNotificationObserver(UIApplicationWillTerminateNotification, this.willTerminate.bind(this)); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:101:38 - error TS2304: Cannot find name 'UIApplicationDidReceiveMemoryWarningNotification'. | |
101 this.addNotificationObserver(UIApplicationDidReceiveMemoryWarningNotification, this.didReceiveMemoryWarning.bind(this)); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:102:38 - error TS2304: Cannot find name 'UIApplicationDidChangeStatusBarOrientationNotification'. | |
102 this.addNotificationObserver(UIApplicationDidChangeStatusBarOrientationNotification, this.didChangeStatusBarOrientation.bind(this)); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:107:42 - error TS2304: Cannot find name 'UIApplication'. | |
107 const statusBarOrientation = UIApplication.sharedApplication.statusBarOrientation; | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:114:27 - error TS2304: Cannot find name 'UIViewController'. | |
114 get rootController(): UIViewController { | |
~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:118:22 - error TS2304: Cannot find name 'UIApplication'. | |
118 get nativeApp(): UIApplication { | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:119:16 - error TS2304: Cannot find name 'UIApplication'. | |
119 return UIApplication.sharedApplication; | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:122:19 - error TS2304: Cannot find name 'UIWindow'. | |
122 get window(): UIWindow { | |
~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:126:28 - error TS2304: Cannot find name 'UIApplicationDelegate'. | |
126 get delegate(): typeof UIApplicationDelegate { | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:130:32 - error TS2304: Cannot find name 'UIApplicationDelegate'. | |
130 set delegate(value: typeof UIApplicationDelegate) { | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:140:96 - error TS2304: Cannot find name 'NSNotification'. | |
140 public addNotificationObserver(notificationName: string, onReceiveCallback: (notification: NSNotification) => void): NotificationObserver { | |
~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:142:9 - error TS2304: Cannot find name 'NSNotificationCenter'. | |
142 NSNotificationCenter.defaultCenter.addObserverSelectorNameObject(observer, "onReceive", notificationName, null); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:152:13 - error TS2304: Cannot find name 'NSNotificationCenter'. | |
152 NSNotificationCenter.defaultCenter.removeObserverNameObject(observer, notificationName, null); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:157:57 - error TS2304: Cannot find name 'NSNotification'. | |
157 private didFinishLaunchingWithOptions(notification: NSNotification) { | |
~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:159:55 - error TS2339: Property 'new' does not exist on type 'typeof CADisplayLinkTarget'. | |
159 displayedLinkTarget = CADisplayLinkTarget.new(); | |
~~~ | |
node_modules/tns-core-modules/application/application.ts:160:29 - error TS2304: Cannot find name 'CADisplayLink'. | |
160 displayedLink = CADisplayLink.displayLinkWithTargetSelector(displayedLinkTarget, "onDisplayed"); | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:161:47 - error TS2304: Cannot find name 'NSRunLoop'. | |
161 displayedLink.addToRunLoopForMode(NSRunLoop.mainRunLoop, NSDefaultRunLoopMode); | |
~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:161:70 - error TS2304: Cannot find name 'NSDefaultRunLoopMode'. | |
161 displayedLink.addToRunLoopForMode(NSRunLoop.mainRunLoop, NSDefaultRunLoopMode); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:162:47 - error TS2304: Cannot find name 'NSRunLoop'. | |
162 displayedLink.addToRunLoopForMode(NSRunLoop.mainRunLoop, UITrackingRunLoopMode); | |
~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:162:70 - error TS2304: Cannot find name 'UITrackingRunLoopMode'. | |
162 displayedLink.addToRunLoopForMode(NSRunLoop.mainRunLoop, UITrackingRunLoopMode); | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:165:24 - error TS2304: Cannot find name 'UIWindow'. | |
165 this._window = UIWindow.alloc().initWithFrame(UIScreen.mainScreen.bounds); | |
~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:165:55 - error TS2304: Cannot find name 'UIScreen'. | |
165 this._window = UIWindow.alloc().initWithFrame(UIScreen.mainScreen.bounds); | |
~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:167:40 - error TS2304: Cannot find name 'UIColor'. | |
167 this._window.backgroundColor = UIColor.whiteColor; | |
~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:173:44 - error TS2304: Cannot find name 'NSNotification'. | |
173 public notifyAppStarted(notification?: NSNotification) { | |
~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:187:28 - error TS2304: Cannot find name 'UIApplication'. | |
187 this._window = UIApplication.sharedApplication.delegate.window; | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:192:43 - error TS2304: Cannot find name 'NSNotification'. | |
192 private didBecomeActive(notification: NSNotification) { | |
~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:193:21 - error TS2304: Cannot find name 'UIApplication'. | |
193 const ios = UIApplication.sharedApplication; | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:202:46 - error TS2304: Cannot find name 'NSNotification'. | |
202 private didEnterBackground(notification: NSNotification) { | |
~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:203:84 - error TS2304: Cannot find name 'UIApplication'. | |
203 notify(<ApplicationEventData>{ eventName: suspendEvent, object: this, ios: UIApplication.sharedApplication }); | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:210:41 - error TS2304: Cannot find name 'NSNotification'. | |
210 private willTerminate(notification: NSNotification) { | |
~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:211:81 - error TS2304: Cannot find name 'UIApplication'. | |
211 notify(<ApplicationEventData>{ eventName: exitEvent, object: this, ios: UIApplication.sharedApplication }); | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:218:57 - error TS2304: Cannot find name 'NSNotification'. | |
218 private didChangeStatusBarOrientation(notification: NSNotification) { | |
~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:219:38 - error TS2304: Cannot find name 'UIApplication'. | |
219 const statusBarOrientation = UIApplication.sharedApplication.statusBarOrientation; | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:234:51 - error TS2304: Cannot find name 'NSNotification'. | |
234 private didReceiveMemoryWarning(notification: NSNotification) { | |
~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:235:86 - error TS2304: Cannot find name 'UIApplication'. | |
235 notify(<ApplicationEventData>{ eventName: lowMemoryEvent, object: this, ios: UIApplication.sharedApplication }); | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:240:18 - error TS2304: Cannot find name 'UIInterfaceOrientation'. | |
240 case UIInterfaceOrientation.LandscapeRight: | |
~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:241:18 - error TS2304: Cannot find name 'UIInterfaceOrientation'. | |
241 case UIInterfaceOrientation.LandscapeLeft: | |
~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:243:18 - error TS2304: Cannot find name 'UIInterfaceOrientation'. | |
243 case UIInterfaceOrientation.PortraitUpsideDown: | |
~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:244:18 - error TS2304: Cannot find name 'UIInterfaceOrientation'. | |
244 case UIInterfaceOrientation.Portrait: | |
~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:246:18 - error TS2304: Cannot find name 'UIInterfaceOrientation'. | |
246 case UIInterfaceOrientation.Unknown: | |
~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:344:9 - error TS2304: Cannot find name 'UIApplicationMain'. | |
344 UIApplicationMain(0, null, null, iosApp && iosApp.delegate ? NSStringFromClass(<any>iosApp.delegate) : NSStringFromClass(Responder)); | |
~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:344:70 - error TS2304: Cannot find name 'NSStringFromClass'. | |
344 UIApplicationMain(0, null, null, iosApp && iosApp.delegate ? NSStringFromClass(<any>iosApp.delegate) : NSStringFromClass(Responder)); | |
~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:344:112 - error TS2304: Cannot find name 'NSStringFromClass'. | |
344 UIApplicationMain(0, null, null, iosApp && iosApp.delegate ? NSStringFromClass(<any>iosApp.delegate) : NSStringFromClass(Responder)); | |
~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:356:44 - error TS2304: Cannot find name 'NativeScriptEmbedder'. | |
356 let embedderDelegate = NativeScriptEmbedder.sharedInstance().delegate; | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:389:41 - error TS2304: Cannot find name 'UIApplication'. | |
389 export function getNativeApplication(): UIApplication { | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:393:41 - error TS2304: Cannot find name 'UIViewController'. | |
393 function getViewController(view: View): UIViewController { | |
~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:394:25 - error TS2304: Cannot find name 'UIViewController'. | |
394 let viewController: UIViewController = view.viewController || view.ios; | |
~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:395:35 - error TS2304: Cannot find name 'UIViewController'. | |
395 if (viewController instanceof UIViewController) { | |
~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:400:93 - error TS2304: Cannot find name 'UIViewController'. | |
400 viewController = iosView.UILayoutViewController.initWithOwner(new WeakRef(view)) as UIViewController; | |
~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:408:27 - error TS2304: Cannot find name 'UIViewController'. | |
408 const viewController: UIViewController = view.viewController || view.ios; | |
~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/application/application.ts:416:24 - error TS2339: Property 'view' does not exist on type 'UILayoutViewController'. | |
416 viewController.view.addSubview(nativeView); | |
~~~~ | |
node_modules/tns-core-modules/debugger/devtools-elements.ts:1:10 - error TS2305: Module '"./devtools-elements"' has no exported member 'InspectorEvents'. | |
1 import { InspectorEvents, InspectorCommands } from "./devtools-elements"; | |
~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/debugger/devtools-elements.ts:1:27 - error TS2305: Module '"./devtools-elements"' has no exported member 'InspectorCommands'. | |
1 import { InspectorEvents, InspectorCommands } from "./devtools-elements"; | |
~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/debugger/dom-node.ts:2:10 - error TS2305: Module '"./devtools-elements"' has no exported member 'InspectorEvents'. | |
2 import { InspectorEvents } from "./devtools-elements"; | |
~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/platform/platform.ts:27:31 - error TS2304: Cannot find name 'UIDevice'. | |
27 this._osVersion = UIDevice.currentDevice.systemVersion; | |
~~~~~~~~ | |
node_modules/tns-core-modules/platform/platform.ts:35:27 - error TS2304: Cannot find name 'UIDevice'. | |
35 this._model = UIDevice.currentDevice.model; | |
~~~~~~~~ | |
node_modules/tns-core-modules/platform/platform.ts:43:32 - error TS2304: Cannot find name 'UIDevice'. | |
43 this._sdkVersion = UIDevice.currentDevice.systemVersion; | |
~~~~~~~~ | |
node_modules/tns-core-modules/platform/platform.ts:51:17 - error TS2304: Cannot find name 'UIDevice'. | |
51 if (UIDevice.currentDevice.userInterfaceIdiom === UIUserInterfaceIdiom.Phone) { | |
~~~~~~~~ | |
node_modules/tns-core-modules/platform/platform.ts:51:63 - error TS2304: Cannot find name 'UIUserInterfaceIdiom'. | |
51 if (UIDevice.currentDevice.userInterfaceIdiom === UIUserInterfaceIdiom.Phone) { | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/platform/platform.ts:63:30 - error TS2304: Cannot find name 'NSUserDefaults'. | |
63 const userDefaults = NSUserDefaults.standardUserDefaults; | |
~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/platform/platform.ts:68:24 - error TS2304: Cannot find name 'NSUUID'. | |
68 app_uuid = NSUUID.UUID().UUIDString; | |
~~~~~~ | |
node_modules/tns-core-modules/platform/platform.ts:78:31 - error TS2304: Cannot find name 'NSLocale'. | |
78 const languages = NSLocale.preferredLanguages; | |
~~~~~~~~ | |
node_modules/tns-core-modules/platform/platform.ts:87:28 - error TS2304: Cannot find name 'NSLocale'. | |
87 this._region = NSLocale.currentLocale.objectForKey(NSLocaleCountryCode); | |
~~~~~~~~ | |
node_modules/tns-core-modules/platform/platform.ts:87:64 - error TS2304: Cannot find name 'NSLocaleCountryCode'. | |
87 this._region = NSLocale.currentLocale.objectForKey(NSLocaleCountryCode); | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/platform/platform.ts:95:22 - error TS2304: Cannot find name 'UIScreen'. | |
95 private _screen: UIScreen; | |
~~~~~~~~ | |
node_modules/tns-core-modules/platform/platform.ts:97:27 - error TS2304: Cannot find name 'UIScreen'. | |
97 private get screen(): UIScreen { | |
~~~~~~~~ | |
node_modules/tns-core-modules/platform/platform.ts:99:28 - error TS2304: Cannot find name 'UIScreen'. | |
99 this._screen = UIScreen.mainScreen; | |
~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:44:37 - error TS2552: Cannot find name 'NSObject'. Did you mean 'Object'? | |
44 class AnimationDelegateImpl extends NSObject implements CAAnimationDelegate { | |
~~~~~~~~ | |
node_modules/typescript/lib/lib.es5.d.ts:267:13 | |
267 declare var Object: ObjectConstructor; | |
~~~~~~ | |
'Object' is declared here. | |
node_modules/tns-core-modules/ui/animation/animation.ts:44:57 - error TS2304: Cannot find name 'CAAnimationDelegate'. | |
44 class AnimationDelegateImpl extends NSObject implements CAAnimationDelegate { | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:56:69 - error TS2339: Property 'new' does not exist on type 'typeof AnimationDelegateImpl'. | |
56 let delegate = <AnimationDelegateImpl>AnimationDelegateImpl.new(); | |
~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:64:29 - error TS2304: Cannot find name 'CAAnimation'. | |
64 animationDidStart(anim: CAAnimation): void { | |
~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:112:43 - error TS2304: Cannot find name 'CAAnimation'. | |
112 public animationDidStopFinished(anim: CAAnimation, finished: boolean): void { | |
~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:122:84 - error TS2304: Cannot find name 'CAMediaTimingFunction'. | |
122 export function _resolveAnimationCurve(curve: string | CubicBezierAnimationCurve | CAMediaTimingFunction): CAMediaTimingFunction | string { | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:122:108 - error TS2304: Cannot find name 'CAMediaTimingFunction'. | |
122 export function _resolveAnimationCurve(curve: string | CubicBezierAnimationCurve | CAMediaTimingFunction): CAMediaTimingFunction | string { | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:125:20 - error TS2304: Cannot find name 'CAMediaTimingFunction'. | |
125 return CAMediaTimingFunction.functionWithName(kCAMediaTimingFunctionEaseIn); | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:125:59 - error TS2304: Cannot find name 'kCAMediaTimingFunctionEaseIn'. | |
125 return CAMediaTimingFunction.functionWithName(kCAMediaTimingFunctionEaseIn); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:127:20 - error TS2304: Cannot find name 'CAMediaTimingFunction'. | |
127 return CAMediaTimingFunction.functionWithName(kCAMediaTimingFunctionEaseOut); | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:127:59 - error TS2304: Cannot find name 'kCAMediaTimingFunctionEaseOut'. | |
127 return CAMediaTimingFunction.functionWithName(kCAMediaTimingFunctionEaseOut); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:129:20 - error TS2304: Cannot find name 'CAMediaTimingFunction'. | |
129 return CAMediaTimingFunction.functionWithName(kCAMediaTimingFunctionEaseInEaseOut); | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:129:59 - error TS2304: Cannot find name 'kCAMediaTimingFunctionEaseInEaseOut'. | |
129 return CAMediaTimingFunction.functionWithName(kCAMediaTimingFunctionEaseInEaseOut); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:131:20 - error TS2304: Cannot find name 'CAMediaTimingFunction'. | |
131 return CAMediaTimingFunction.functionWithName(kCAMediaTimingFunctionLinear); | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:131:59 - error TS2304: Cannot find name 'kCAMediaTimingFunctionLinear'. | |
131 return CAMediaTimingFunction.functionWithName(kCAMediaTimingFunctionLinear); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:135:20 - error TS2304: Cannot find name 'CAMediaTimingFunction'. | |
135 return CAMediaTimingFunction.functionWithControlPoints(0.25, 0.1, 0.25, 1.0); | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:137:34 - error TS2304: Cannot find name 'CAMediaTimingFunction'. | |
137 if (curve instanceof CAMediaTimingFunction) { | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:143:24 - error TS2304: Cannot find name 'CAMediaTimingFunction'. | |
143 return CAMediaTimingFunction.functionWithControlPoints(animationCurve.x1, animationCurve.y1, animationCurve.x2, animationCurve.y2); | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:248:79 - error TS2304: Cannot find name 'CAMediaTimingFunction'. | |
248 public _resolveAnimationCurve(curve: string | CubicBezierAnimationCurve | CAMediaTimingFunction): CAMediaTimingFunction | string { | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:248:103 - error TS2304: Cannot find name 'CAMediaTimingFunction'. | |
248 public _resolveAnimationCurve(curve: string | CubicBezierAnimationCurve | CAMediaTimingFunction): CAMediaTimingFunction | string { | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:278:27 - error TS2304: Cannot find name 'UIView'. | |
278 let nativeView = <UIView>animation.target.nativeViewProtected; | |
~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:297:43 - error TS2304: Cannot find name 'UILabel'. | |
297 if (nativeView instanceof UILabel) { | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:298:47 - error TS2304: Cannot find name 'UIColor'. | |
298 nativeView.setValueForKey(UIColor.clearColor, "backgroundColor"); | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:320:23 - error TS2304: Cannot find name 'fabs'. | |
320 abs = fabs(fromValue - toValue); | |
~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:332:29 - error TS2304: Cannot find name 'NSValue'. | |
332 fromValue = NSValue.valueWithCATransform3D(nativeView.layer.transform); | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:333:27 - error TS2304: Cannot find name 'NSValue'. | |
333 toValue = NSValue.valueWithCATransform3D(CATransform3DTranslate(nativeView.layer.transform, toValue.x, toValue.y, 0)); | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:333:58 - error TS2304: Cannot find name 'CATransform3DTranslate'. | |
333 toValue = NSValue.valueWithCATransform3D(CATransform3DTranslate(nativeView.layer.transform, toValue.x, toValue.y, 0)); | |
~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:348:29 - error TS2304: Cannot find name 'NSValue'. | |
348 fromValue = NSValue.valueWithCATransform3D(nativeView.layer.transform); | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:349:27 - error TS2304: Cannot find name 'NSValue'. | |
349 toValue = NSValue.valueWithCATransform3D(CATransform3DScale(nativeView.layer.transform, toValue.x, toValue.y, 1)); | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:349:58 - error TS2304: Cannot find name 'CATransform3DScale'. | |
349 toValue = NSValue.valueWithCATransform3D(CATransform3DScale(nativeView.layer.transform, toValue.x, toValue.y, 1)); | |
~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:352:29 - error TS2304: Cannot find name 'NSValue'. | |
352 fromValue = NSValue.valueWithCATransform3D(nativeView.layer.transform); | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:364:27 - error TS2304: Cannot find name 'NSValue'. | |
364 toValue = NSValue.valueWithCATransform3D(Animation._createNativeAffineTransform(animation)); | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:379:29 - error TS2304: Cannot find name 'NSValue'. | |
379 fromValue = NSValue.valueWithCGRect(currentBounds); | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:380:27 - error TS2304: Cannot find name 'NSValue'. | |
380 toValue = NSValue.valueWithCGRect( | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:381:21 - error TS2304: Cannot find name 'CGRectMake'. | |
381 CGRectMake(currentBounds.origin.x, currentBounds.origin.y, extentX, extentY) | |
~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:425:27 - error TS2304: Cannot find name 'UIView'. | |
425 let nativeView = <UIView>animation.target.nativeViewProtected; | |
~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:426:31 - error TS2304: Cannot find name 'CABasicAnimation'. | |
426 let nativeAnimation = CABasicAnimation.animationWithKeyPath(args.propertyNameToAnimate); | |
~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:434:41 - error TS2304: Cannot find name 'CACurrentMediaTime'. | |
434 nativeAnimation.beginTime = CACurrentMediaTime() + args.delay; | |
~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:459:27 - error TS2304: Cannot find name 'UIView'. | |
459 let nativeView = <UIView>animation.target.nativeViewProtected; | |
~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:478:9 - error TS2304: Cannot find name 'UIView'. | |
478 UIView.animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(args.duration, delay, 0.2, 0, | |
~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:479:13 - error TS2304: Cannot find name 'UIViewAnimationOptions'. | |
479 UIViewAnimationOptions.CurveLinear, | |
~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:482:21 - error TS2304: Cannot find name 'UIView'. | |
482 UIView.setAnimationRepeatCount(args.repeatCount); | |
~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:539:80 - error TS2304: Cannot find name 'CATransform3D'. | |
539 private static _createNativeAffineTransform(animation: PropertyAnimation): CATransform3D { | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:541:21 - error TS2304: Cannot find name 'CATransform3D'. | |
541 let result: CATransform3D = CATransform3DIdentity; | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:541:37 - error TS2304: Cannot find name 'CATransform3DIdentity'. | |
541 let result: CATransform3D = CATransform3DIdentity; | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:546:22 - error TS2304: Cannot find name 'CATransform3DTranslate'. | |
546 result = CATransform3DTranslate(result, x, y, 0); | |
~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:552:22 - error TS2304: Cannot find name 'CATransform3DScale'. | |
552 result = CATransform3DScale(result, x === 0 ? 0.001 : x, y === 0 ? 0.001 : y, 1); | |
~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:642:17 - error TS2304: Cannot find name 'CGAffineTransform'. | |
642 let result: CGAffineTransform = CGAffineTransformIdentity; | |
~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:642:37 - error TS2304: Cannot find name 'CGAffineTransformIdentity'. | |
642 let result: CGAffineTransform = CGAffineTransformIdentity; | |
~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:645:14 - error TS2304: Cannot find name 'CGAffineTransformTranslate'. | |
645 result = CGAffineTransformTranslate(result, tx, ty); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:646:14 - error TS2304: Cannot find name 'CGAffineTransformRotate'. | |
646 result = CGAffineTransformRotate(result, (view.rotate || 0) * Math.PI / 180); | |
~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:647:14 - error TS2304: Cannot find name 'CGAffineTransformScale'. | |
647 result = CGAffineTransformScale(result, view.scaleX || 1, view.scaleY || 1); | |
~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:648:25 - error TS2304: Cannot find name 'NSStringFromCGAffineTransform'. | |
648 let viewTransform = NSStringFromCGAffineTransform(result); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/animation/animation.ts:649:27 - error TS2304: Cannot find name 'NSStringFromCGAffineTransform'. | |
649 let nativeTransform = NSStringFromCGAffineTransform(view.nativeViewProtected.transform); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:779:45 - error TS2339: Property 'MEASURED_SIZE_MASK' does not exist on type 'typeof layout'. | |
779 return this._measuredWidth & layout.MEASURED_SIZE_MASK || 0; | |
~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:783:46 - error TS2339: Property 'MEASURED_SIZE_MASK' does not exist on type 'typeof layout'. | |
783 return this._measuredHeight & layout.MEASURED_SIZE_MASK || 0; | |
~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:787:46 - error TS2339: Property 'MEASURED_STATE_MASK' does not exist on type 'typeof layout'. | |
787 return (this._measuredWidth & layout.MEASURED_STATE_MASK) | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:788:48 - error TS2339: Property 'MEASURED_HEIGHT_STATE_SHIFT' does not exist on type 'typeof layout'. | |
788 | ((this._measuredHeight >> layout.MEASURED_HEIGHT_STATE_SHIFT) | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:789:27 - error TS2339: Property 'MEASURED_STATE_MASK' does not exist on type 'typeof layout'. | |
789 & (layout.MEASURED_STATE_MASK >> layout.MEASURED_HEIGHT_STATE_SHIFT)); | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:789:57 - error TS2339: Property 'MEASURED_HEIGHT_STATE_SHIFT' does not exist on type 'typeof layout'. | |
789 & (layout.MEASURED_STATE_MASK >> layout.MEASURED_HEIGHT_STATE_SHIFT)); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:812:25 - error TS2339: Property 'UNSPECIFIED' does not exist on type 'typeof layout'. | |
812 case layout.UNSPECIFIED: | |
~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:816:25 - error TS2339: Property 'AT_MOST' does not exist on type 'typeof layout'. | |
816 case layout.AT_MOST: | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:818:59 - error TS2339: Property 'MEASURED_STATE_TOO_SMALL' does not exist on type 'typeof layout'. | |
818 result = Math.ceil(specSize) | layout.MEASURED_STATE_TOO_SMALL; | |
~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:822:25 - error TS2339: Property 'EXACTLY' does not exist on type 'typeof layout'. | |
822 case layout.EXACTLY: | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:827:54 - error TS2339: Property 'MEASURED_STATE_MASK' does not exist on type 'typeof layout'. | |
827 return result | (childMeasuredState & layout.MEASURED_STATE_MASK); | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:930:34 - error TS2339: Property 'getMeasureSpecSize' does not exist on type 'typeof layout'. | |
930 const width = layout.getMeasureSpecSize(widthSpec); | |
~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:931:38 - error TS2339: Property 'getMeasureSpecMode' does not exist on type 'typeof layout'. | |
931 const widthMode = layout.getMeasureSpecMode(widthSpec); | |
~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:933:35 - error TS2339: Property 'getMeasureSpecSize' does not exist on type 'typeof layout'. | |
933 const height = layout.getMeasureSpecSize(heightSpec); | |
~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:934:39 - error TS2339: Property 'getMeasureSpecMode' does not exist on type 'typeof layout'. | |
934 const heightMode = layout.getMeasureSpecMode(heightSpec); | |
~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:946:78 - error TS2339: Property 'measureSpecToString' does not exist on type 'typeof layout'. | |
946 traceWrite(`${child.parent} :measureChild: ${child} ${layout.measureSpecToString(childWidthMeasureSpec)}, ${layout.measureSpecToString(childHeightMeasureSpec)}}`, traceCategories.Layout); | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:946:132 - error TS2339: Property 'measureSpecToString' does not exist on type 'typeof layout'. | |
946 traceWrite(`${child.parent} :measureChild: ${child} ${layout.measureSpecToString(childWidthMeasureSpec)}, ${layout.measureSpecToString(childHeightMeasureSpec)}}`, traceCategories.Layout); | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:958:37 - error TS2339: Property 'getMeasureSpecSize' does not exist on type 'typeof layout'. | |
958 const parentLength = layout.getMeasureSpecSize(parentSpec); | |
~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:959:39 - error TS2339: Property 'getMeasureSpecMode' does not exist on type 'typeof layout'. | |
959 const parentSpecMode = layout.getMeasureSpecMode(parentSpec); | |
~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:969:52 - error TS2339: Property 'UNSPECIFIED' does not exist on type 'typeof layout'. | |
969 resultSize = parentSpecMode === layout.UNSPECIFIED ? childLength : Math.min(parentLength, childLength); | |
~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:970:33 - error TS2339: Property 'EXACTLY' does not exist on type 'typeof layout'. | |
970 resultMode = layout.EXACTLY; | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:975:29 - error TS2339: Property 'EXACTLY' does not exist on type 'typeof layout'. | |
975 case layout.EXACTLY: | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:979:53 - error TS2339: Property 'EXACTLY' does not exist on type 'typeof layout'. | |
979 resultMode = stretched ? layout.EXACTLY : layout.AT_MOST; | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:979:70 - error TS2339: Property 'AT_MOST' does not exist on type 'typeof layout'. | |
979 resultMode = stretched ? layout.EXACTLY : layout.AT_MOST; | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:983:29 - error TS2339: Property 'AT_MOST' does not exist on type 'typeof layout'. | |
983 case layout.AT_MOST: | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:985:41 - error TS2339: Property 'AT_MOST' does not exist on type 'typeof layout'. | |
985 resultMode = layout.AT_MOST; | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:989:29 - error TS2339: Property 'UNSPECIFIED' does not exist on type 'typeof layout'. | |
989 case layout.UNSPECIFIED: | |
~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:991:41 - error TS2339: Property 'UNSPECIFIED' does not exist on type 'typeof layout'. | |
991 resultMode = layout.UNSPECIFIED; | |
~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:1131:66 - error TS2339: Property 'UNSPECIFIED' does not exist on type 'typeof layout'. | |
1131 const availableWidth = parentWidthMeasureMode === layout.UNSPECIFIED ? -1 : parentWidthMeasureSize; | |
~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/view/view-common.ts:1137:68 - error TS2339: Property 'UNSPECIFIED' does not exist on type 'typeof layout'. | |
1137 const availableHeight = parentHeightMeasureMode === layout.UNSPECIFIED ? -1 : parentHeightMeasureSize; | |
~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/layouts/layout-base.ts:8:26 - error TS2304: Cannot find name 'UIView'. | |
8 nativeViewProtected: UIView; | |
~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:13:30 - error TS2304: Cannot find name 'UIView'. | |
13 interface NativeView extends UIView { | |
~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:16:18 - error TS2304: Cannot find name 'CALayer'. | |
16 borderLayer: CALayer; | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:19:25 - error TS2304: Cannot find name 'CALayer'. | |
19 borderOriginalMask: CALayer; | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:21:21 - error TS2304: Cannot find name 'CALayer'. | |
21 topBorderLayer: CALayer; | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:22:23 - error TS2304: Cannot find name 'CALayer'. | |
22 rightBorderLayer: CALayer; | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:23:24 - error TS2304: Cannot find name 'CALayer'. | |
23 bottomBorderLayer: CALayer; | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:24:22 - error TS2304: Cannot find name 'CALayer'. | |
24 leftBorderLayer: CALayer; | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:26:20 - error TS2304: Cannot find name 'CAGradientLayer'. | |
26 gradientLayer: CAGradientLayer; | |
~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:36:22 - error TS2304: Cannot find name 'UIColor'. | |
36 const clearCGColor = UIColor.clearColor.CGColor; | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:40:77 - error TS2304: Cannot find name 'UIColor'. | |
40 export function createBackgroundUIColor(view: View, callback: (uiColor: UIColor) => void, flip?: boolean): void { | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:60:38 - error TS2339: Property 'layer' does not exist on type 'NativeView'. | |
60 const layer = nativeView.layer; | |
~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:90:31 - error TS2304: Cannot find name 'UIScrollView'. | |
90 if (nativeView instanceof UIScrollView) { | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:95:48 - error TS2304: Cannot find name 'UIScrollView'. | |
95 function adjustLayersForScrollView(nativeView: UIScrollView & NativeView) { | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:97:26 - error TS2304: Cannot find name 'CALayer'. | |
97 if (layer instanceof CALayer) { | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:99:9 - error TS2304: Cannot find name 'CATransaction'. | |
99 CATransaction.begin(); | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:100:9 - error TS2304: Cannot find name 'CATransaction'. | |
100 CATransaction.setValueForKey(kCFBooleanTrue, kCATransactionDisableActions); | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:100:38 - error TS2304: Cannot find name 'kCFBooleanTrue'. | |
100 CATransaction.setValueForKey(kCFBooleanTrue, kCATransactionDisableActions); | |
~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:100:54 - error TS2304: Cannot find name 'kCATransactionDisableActions'. | |
100 CATransaction.setValueForKey(kCFBooleanTrue, kCATransactionDisableActions); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:107:9 - error TS2304: Cannot find name 'CATransaction'. | |
107 CATransaction.commit(); | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:112:45 - error TS2304: Cannot find name 'UIScrollView'. | |
112 if (view.nativeViewProtected instanceof UIScrollView) { | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:117:45 - error TS2304: Cannot find name 'UIScrollView'. | |
117 if (view.nativeViewProtected instanceof UIScrollView) { | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:129:20 - error TS2339: Property 'layer' does not exist on type 'NativeView'. | |
129 nativeView.layer.mask = nativeView.borderOriginalMask; | |
~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:152:54 - error TS2304: Cannot find name 'UIView'. | |
152 function setUIColorFromImage(view: View, nativeView: UIView, callback: (uiColor: UIColor) => void, flip?: boolean): void { | |
~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:152:82 - error TS2304: Cannot find name 'UIColor'. | |
152 function setUIColorFromImage(view: View, nativeView: UIView, callback: (uiColor: UIColor) => void, flip?: boolean): void { | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:170:17 - error TS2304: Cannot find name 'UIImage'. | |
170 let bitmap: UIImage; | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:224:43 - error TS2304: Cannot find name 'UIImage'. | |
224 function getDrawParams(this: void, image: UIImage, background: BackgroundDefinition, width: number, height: number): BackgroundDrawParams { | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:332:32 - error TS2304: Cannot find name 'UIImage'. | |
332 function uiColorFromImage(img: UIImage, view: View, callback: (uiColor: UIColor) => void, flip?: boolean): void { | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:332:73 - error TS2304: Cannot find name 'UIColor'. | |
332 function uiColorFromImage(img: UIImage, view: View, callback: (uiColor: UIColor) => void, flip?: boolean): void { | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:341:52 - error TS2304: Cannot find name 'UIView'. | |
341 const nativeView = view.nativeViewProtected as UIView; | |
~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:349:28 - error TS2304: Cannot find name 'CGRectMake'. | |
349 const resizeRect = CGRectMake(0, 0, params.sizeX, params.sizeY); | |
~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:350:9 - error TS2304: Cannot find name 'UIGraphicsBeginImageContextWithOptions'. | |
350 UIGraphicsBeginImageContextWithOptions(resizeRect.size, false, 0.0); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:352:15 - error TS2304: Cannot find name 'UIGraphicsGetImageFromCurrentImageContext'. | |
352 img = UIGraphicsGetImageFromCurrentImageContext(); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:353:9 - error TS2304: Cannot find name 'UIGraphicsEndImageContext'. | |
353 UIGraphicsEndImageContext(); | |
~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:356:5 - error TS2304: Cannot find name 'UIGraphicsBeginImageContextWithOptions'. | |
356 UIGraphicsBeginImageContextWithOptions(CGSizeFromString(`{${boundsWidth},${boundsHeight}}`), false, 0.0); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:356:44 - error TS2304: Cannot find name 'CGSizeFromString'. | |
356 UIGraphicsBeginImageContextWithOptions(CGSizeFromString(`{${boundsWidth},${boundsHeight}}`), false, 0.0); | |
~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:357:21 - error TS2304: Cannot find name 'UIGraphicsGetCurrentContext'. | |
357 const context = UIGraphicsGetCurrentContext(); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:360:9 - error TS2304: Cannot find name 'CGContextSetFillColorWithColor'. | |
360 CGContextSetFillColorWithColor(context, background.color.ios.CGColor); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:361:9 - error TS2304: Cannot find name 'CGContextFillRect'. | |
361 CGContextFillRect(context, CGRectMake(0, 0, boundsWidth, boundsHeight)); | |
~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:361:36 - error TS2304: Cannot find name 'CGRectMake'. | |
361 CGContextFillRect(context, CGRectMake(0, 0, boundsWidth, boundsHeight)); | |
~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:365:25 - error TS2304: Cannot find name 'CGPointMake'. | |
365 img.drawAtPoint(CGPointMake(params.posX, params.posY)); | |
~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:370:9 - error TS2304: Cannot find name 'CGContextSetPatternPhase'. | |
370 CGContextSetPatternPhase(context, CGSizeMake(params.posX, params.posY)); | |
~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:370:43 - error TS2304: Cannot find name 'CGSizeMake'. | |
370 CGContextSetPatternPhase(context, CGSizeMake(params.posX, params.posY)); | |
~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:375:29 - error TS2304: Cannot find name 'CGRectMake'. | |
375 const patternRect = CGRectMake(params.posX, params.posY, w, h); | |
~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:380:22 - error TS2304: Cannot find name 'UIGraphicsGetImageFromCurrentImageContext'. | |
380 const bkgImage = UIGraphicsGetImageFromCurrentImageContext(); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:381:5 - error TS2304: Cannot find name 'UIGraphicsEndImageContext'. | |
381 UIGraphicsEndImageContext(); | |
~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:385:18 - error TS2304: Cannot find name 'UIColor'. | |
385 callback(UIColor.alloc().initWithPatternImage(flippedImage)); | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:387:18 - error TS2304: Cannot find name 'UIColor'. | |
387 callback(UIColor.alloc().initWithPatternImage(bkgImage)); | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:393:36 - error TS2304: Cannot find name 'UIImage'. | |
393 function _flipImage(originalImage: UIImage): UIImage { | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:393:46 - error TS2304: Cannot find name 'UIImage'. | |
393 function _flipImage(originalImage: UIImage): UIImage { | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:394:5 - error TS2304: Cannot find name 'UIGraphicsBeginImageContextWithOptions'. | |
394 UIGraphicsBeginImageContextWithOptions(originalImage.size, false, 0.0); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:395:21 - error TS2304: Cannot find name 'UIGraphicsGetCurrentContext'. | |
395 const context = UIGraphicsGetCurrentContext(); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:396:5 - error TS2304: Cannot find name 'CGContextSaveGState'. | |
396 CGContextSaveGState(context); | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:397:5 - error TS2304: Cannot find name 'CGContextTranslateCTM'. | |
397 CGContextTranslateCTM(context, 0.0, originalImage.size.height); | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:398:5 - error TS2304: Cannot find name 'CGContextScaleCTM'. | |
398 CGContextScaleCTM(context, 1.0, -1.0); | |
~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:399:30 - error TS2304: Cannot find name 'CGRectMake'. | |
399 originalImage.drawInRect(CGRectMake(0, 0, originalImage.size.width, originalImage.size.height)); | |
~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:400:5 - error TS2304: Cannot find name 'CGContextRestoreGState'. | |
400 CGContextRestoreGState(context); | |
~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:401:26 - error TS2304: Cannot find name 'UIGraphicsGetImageFromCurrentImageContext'. | |
401 const flippedImage = UIGraphicsGetImageFromCurrentImageContext(); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:402:5 - error TS2304: Cannot find name 'UIGraphicsEndImageContext'. | |
402 UIGraphicsEndImageContext(); | |
~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:419:30 - error TS2339: Property 'layer' does not exist on type 'NativeView'. | |
419 const layer = nativeView.layer; | |
~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:468:22 - error TS2304: Cannot find name 'CGPathCreateMutable'. | |
468 const clipPath = CGPathCreateMutable(); | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:469:5 - error TS2304: Cannot find name 'CGPathMoveToPoint'. | |
469 CGPathMoveToPoint(clipPath, null, left + cappedOuterTopLeftRadius, top); | |
~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:470:5 - error TS2304: Cannot find name 'CGPathAddArcToPoint'. | |
470 CGPathAddArcToPoint(clipPath, null, right, top, right, top + cappedOuterTopRightRadius, cappedOuterTopRightRadius); | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:471:5 - error TS2304: Cannot find name 'CGPathAddArcToPoint'. | |
471 CGPathAddArcToPoint(clipPath, null, right, bottom, right - cappedOuterBottomRightRadius, bottom, cappedOuterBottomRightRadius); | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:472:5 - error TS2304: Cannot find name 'CGPathAddArcToPoint'. | |
472 CGPathAddArcToPoint(clipPath, null, left, bottom, left, bottom - cappedOuterBottomLeftRadius, cappedOuterBottomLeftRadius); | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:473:5 - error TS2304: Cannot find name 'CGPathAddArcToPoint'. | |
473 CGPathAddArcToPoint(clipPath, null, left, top, left + cappedOuterTopLeftRadius, top, cappedOuterTopLeftRadius); | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:474:5 - error TS2304: Cannot find name 'CGPathCloseSubpath'. | |
474 CGPathCloseSubpath(clipPath); | |
~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:477:28 - error TS2304: Cannot find name 'CAShapeLayer'. | |
477 const clipShapeLayer = CAShapeLayer.layer(); | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:483:28 - error TS2304: Cannot find name 'CGPathCreateMutable'. | |
483 const borderPath = CGPathCreateMutable(); | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:484:9 - error TS2304: Cannot find name 'CGPathAddRect'. | |
484 CGPathAddRect(borderPath, null, CGRectMake(left, top, width, height)); | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:484:41 - error TS2304: Cannot find name 'CGRectMake'. | |
484 CGPathAddRect(borderPath, null, CGRectMake(left, top, width, height)); | |
~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:488:13 - error TS2304: Cannot find name 'CGPathMoveToPoint'. | |
488 CGPathMoveToPoint(borderPath, null, left + cappedOuterTopLeftRadius, top + cappedBorderTopWidth); | |
~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:490:13 - error TS2304: Cannot find name 'CGPathMoveToPoint'. | |
490 CGPathMoveToPoint(borderPath, null, left, top); | |
~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:497:49 - error TS2304: Cannot find name 'CGAffineTransformMake'. | |
497 const innerTopRightTransform: any = CGAffineTransformMake( | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:502:13 - error TS2304: Cannot find name 'CGPathAddArc'. | |
502 CGPathAddArc(borderPath, innerTopRightTransform, 0, 0, innerTopRightMaxRadius, Math.PI * 3 / 2, 0, false); | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:504:13 - error TS2304: Cannot find name 'CGPathMoveToPoint'. | |
504 CGPathMoveToPoint(borderPath, null, right, top); | |
~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:511:52 - error TS2304: Cannot find name 'CGAffineTransformMake'. | |
511 const innerBottomRightTransform: any = CGAffineTransformMake( | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:516:13 - error TS2304: Cannot find name 'CGPathAddArc'. | |
516 CGPathAddArc(borderPath, innerBottomRightTransform, 0, 0, innerBottomRightMaxRadius, 0, Math.PI / 2, false); | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:518:13 - error TS2304: Cannot find name 'CGPathAddLineToPoint'. | |
518 CGPathAddLineToPoint(borderPath, null, right, bottom); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:525:51 - error TS2304: Cannot find name 'CGAffineTransformMake'. | |
525 const innerBottomLeftTransform: any = CGAffineTransformMake( | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:530:13 - error TS2304: Cannot find name 'CGPathAddArc'. | |
530 CGPathAddArc(borderPath, innerBottomLeftTransform, 0, 0, innerBottomLeftMaxRadius, Math.PI / 2, Math.PI, false); | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:532:13 - error TS2304: Cannot find name 'CGPathAddLineToPoint'. | |
532 CGPathAddLineToPoint(borderPath, null, left, bottom); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:539:48 - error TS2304: Cannot find name 'CGAffineTransformMake'. | |
539 const innerTopLeftTransform: any = CGAffineTransformMake( | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:544:13 - error TS2304: Cannot find name 'CGPathAddArc'. | |
544 CGPathAddArc(borderPath, innerTopLeftTransform, 0, 0, innerTopLeftMaxRadius, Math.PI, Math.PI * 3 / 2, false); | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:546:13 - error TS2304: Cannot find name 'CGPathAddLineToPoint'. | |
546 CGPathAddLineToPoint(borderPath, null, left, top); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:549:9 - error TS2304: Cannot find name 'CGPathCloseSubpath'. | |
549 CGPathCloseSubpath(borderPath); | |
~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:551:29 - error TS2304: Cannot find name 'CAShapeLayer'. | |
551 const borderLayer = CAShapeLayer.layer(); | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:552:103 - error TS2304: Cannot find name 'UIColor'. | |
552 borderLayer.fillColor = background.borderTopColor && background.borderTopColor.ios.CGColor || UIColor.blackColor.CGColor; | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:553:32 - error TS2304: Cannot find name 'kCAFillRuleEvenOdd'. | |
553 borderLayer.fillRule = kCAFillRuleEvenOdd; | |
~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:563:25 - error TS2304: Cannot find name 'CALayer'. | |
563 const borderLayer = CALayer.layer(); | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:564:16 - error TS2339: Property 'layer' does not exist on type 'NativeView'. | |
564 nativeView.layer.addSublayer(borderLayer); | |
~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:571:36 - error TS2339: Property 'layer' does not exist on type 'NativeView'. | |
571 const layerBounds = nativeView.layer.bounds; | |
~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:603:31 - error TS2304: Cannot find name 'CGPathCreateMutable'. | |
603 const topBorderPath = CGPathCreateMutable(); | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:604:9 - error TS2304: Cannot find name 'CGPathMoveToPoint'. | |
604 CGPathMoveToPoint(topBorderPath, null, lto.x, lto.y); | |
~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:605:9 - error TS2304: Cannot find name 'CGPathAddLineToPoint'. | |
605 CGPathAddLineToPoint(topBorderPath, null, rto.x, rto.y); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:606:9 - error TS2304: Cannot find name 'CGPathAddLineToPoint'. | |
606 CGPathAddLineToPoint(topBorderPath, null, rti.x, rti.y); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:607:9 - error TS2304: Cannot find name 'CGPathAddLineToPoint'. | |
607 CGPathAddLineToPoint(topBorderPath, null, lti.x, lti.y); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:608:9 - error TS2304: Cannot find name 'CGPathAddLineToPoint'. | |
608 CGPathAddLineToPoint(topBorderPath, null, lto.x, lto.y); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:610:32 - error TS2304: Cannot find name 'CAShapeLayer'. | |
610 const topBorderLayer = CAShapeLayer.layer(); | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:621:33 - error TS2304: Cannot find name 'CGPathCreateMutable'. | |
621 const rightBorderPath = CGPathCreateMutable(); | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:622:9 - error TS2304: Cannot find name 'CGPathMoveToPoint'. | |
622 CGPathMoveToPoint(rightBorderPath, null, rto.x, rto.y); | |
~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:623:9 - error TS2304: Cannot find name 'CGPathAddLineToPoint'. | |
623 CGPathAddLineToPoint(rightBorderPath, null, rbo.x, rbo.y); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:624:9 - error TS2304: Cannot find name 'CGPathAddLineToPoint'. | |
624 CGPathAddLineToPoint(rightBorderPath, null, rbi.x, rbi.y); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:625:9 - error TS2304: Cannot find name 'CGPathAddLineToPoint'. | |
625 CGPathAddLineToPoint(rightBorderPath, null, rti.x, rti.y); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:626:9 - error TS2304: Cannot find name 'CGPathAddLineToPoint'. | |
626 CGPathAddLineToPoint(rightBorderPath, null, rto.x, rto.y); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:628:34 - error TS2304: Cannot find name 'CAShapeLayer'. | |
628 const rightBorderLayer = CAShapeLayer.layer(); | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:639:34 - error TS2304: Cannot find name 'CGPathCreateMutable'. | |
639 const bottomBorderPath = CGPathCreateMutable(); | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:640:9 - error TS2304: Cannot find name 'CGPathMoveToPoint'. | |
640 CGPathMoveToPoint(bottomBorderPath, null, rbo.x, rbo.y); | |
~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:641:9 - error TS2304: Cannot find name 'CGPathAddLineToPoint'. | |
641 CGPathAddLineToPoint(bottomBorderPath, null, lbo.x, lbo.y); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:642:9 - error TS2304: Cannot find name 'CGPathAddLineToPoint'. | |
642 CGPathAddLineToPoint(bottomBorderPath, null, lbi.x, lbi.y); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:643:9 - error TS2304: Cannot find name 'CGPathAddLineToPoint'. | |
643 CGPathAddLineToPoint(bottomBorderPath, null, rbi.x, rbi.y); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:644:9 - error TS2304: Cannot find name 'CGPathAddLineToPoint'. | |
644 CGPathAddLineToPoint(bottomBorderPath, null, rbo.x, rbo.y); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:646:35 - error TS2304: Cannot find name 'CAShapeLayer'. | |
646 const bottomBorderLayer = CAShapeLayer.layer(); | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:657:32 - error TS2304: Cannot find name 'CGPathCreateMutable'. | |
657 const leftBorderPath = CGPathCreateMutable(); | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:658:9 - error TS2304: Cannot find name 'CGPathMoveToPoint'. | |
658 CGPathMoveToPoint(leftBorderPath, null, lbo.x, lbo.y); | |
~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:659:9 - error TS2304: Cannot find name 'CGPathAddLineToPoint'. | |
659 CGPathAddLineToPoint(leftBorderPath, null, lto.x, lto.y); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:660:9 - error TS2304: Cannot find name 'CGPathAddLineToPoint'. | |
660 CGPathAddLineToPoint(leftBorderPath, null, lti.x, lti.y); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:661:9 - error TS2304: Cannot find name 'CGPathAddLineToPoint'. | |
661 CGPathAddLineToPoint(leftBorderPath, null, lbi.x, lbi.y); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:662:9 - error TS2304: Cannot find name 'CGPathAddLineToPoint'. | |
662 CGPathAddLineToPoint(leftBorderPath, null, lbo.x, lbo.y); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:664:33 - error TS2304: Cannot find name 'CAShapeLayer'. | |
664 const leftBorderLayer = CAShapeLayer.layer(); | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:678:27 - error TS2304: Cannot find name 'CAGradientLayer'. | |
678 const gradientLayer = CAGradientLayer.layer(); | |
~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:679:38 - error TS2339: Property 'bounds' does not exist on type 'NativeView'. | |
679 gradientLayer.frame = nativeView.bounds; | |
~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:682:23 - error TS2304: Cannot find name 'NSMutableArray'. | |
682 const iosColors = NSMutableArray.alloc().initWithCapacity(gradient.colorStops.length); | |
~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:683:22 - error TS2304: Cannot find name 'NSMutableArray'. | |
683 const iosStops = NSMutableArray.alloc<number>().initWithCapacity(gradient.colorStops.length); | |
~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:720:16 - error TS2339: Property 'layer' does not exist on type 'NativeView'. | |
720 nativeView.layer.insertSublayerAtIndex(gradientLayer, 0); | |
~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:730:35 - error TS2304: Cannot find name 'UIView'. | |
730 function drawClipPath(nativeView: UIView, background: BackgroundDefinition) { | |
~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:747:15 - error TS2304: Cannot find name 'UIBezierPath'. | |
747 let path: UIBezierPath; | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:776:23 - error TS2304: Cannot find name 'CAShapeLayer'. | |
776 const shape = CAShapeLayer.layer(); | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:785:33 - error TS2304: Cannot find name 'CAShapeLayer'. | |
785 const borderLayer = CAShapeLayer.layer(); | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:799:49 - error TS2304: Cannot find name 'UIBezierPath'. | |
799 function rectPath(value: string, bounds: Rect): UIBezierPath { | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:806:12 - error TS2304: Cannot find name 'UIBezierPath'. | |
806 return UIBezierPath.bezierPathWithRect(CGRectMake(left, top, right - left, bottom - top)).CGPath; | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:806:44 - error TS2304: Cannot find name 'CGRectMake'. | |
806 return UIBezierPath.bezierPathWithRect(CGRectMake(left, top, right - left, bottom - top)).CGPath; | |
~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:809:50 - error TS2304: Cannot find name 'UIBezierPath'. | |
809 function insetPath(value: string, bounds: Rect): UIBezierPath { | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:840:12 - error TS2304: Cannot find name 'UIBezierPath'. | |
840 return UIBezierPath.bezierPathWithRect(CGRectMake(left, top, right - left, bottom - top)).CGPath; | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:840:44 - error TS2304: Cannot find name 'CGRectMake'. | |
840 return UIBezierPath.bezierPathWithRect(CGRectMake(left, top, right - left, bottom - top)).CGPath; | |
~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:843:51 - error TS2304: Cannot find name 'UIBezierPath'. | |
843 function circlePath(value: string, bounds: Rect): UIBezierPath { | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:849:12 - error TS2304: Cannot find name 'UIBezierPath'. | |
849 return UIBezierPath.bezierPathWithArcCenterRadiusStartAngleEndAngleClockwise(CGPointMake(x, y), radius, 0, 360, true).CGPath; | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:849:82 - error TS2304: Cannot find name 'CGPointMake'. | |
849 return UIBezierPath.bezierPathWithArcCenterRadiusStartAngleEndAngleClockwise(CGPointMake(x, y), radius, 0, 360, true).CGPath; | |
~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:852:52 - error TS2304: Cannot find name 'UIBezierPath'. | |
852 function ellipsePath(value: string, bounds: Rect): UIBezierPath { | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:865:12 - error TS2304: Cannot find name 'UIBezierPath'. | |
865 return UIBezierPath.bezierPathWithOvalInRect(CGRectMake(left, top, width, height)).CGPath; | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:865:50 - error TS2304: Cannot find name 'CGRectMake'. | |
865 return UIBezierPath.bezierPathWithOvalInRect(CGRectMake(left, top, width, height)).CGPath; | |
~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:868:52 - error TS2304: Cannot find name 'UIBezierPath'. | |
868 function polygonPath(value: string, bounds: Rect): UIBezierPath { | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:869:18 - error TS2304: Cannot find name 'CGPathCreateMutable'. | |
869 const path = CGPathCreateMutable(); | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:882:13 - error TS2304: Cannot find name 'CGPathMoveToPoint'. | |
882 CGPathMoveToPoint(path, null, point.x, point.y); | |
~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:885:9 - error TS2304: Cannot find name 'CGPathAddLineToPoint'. | |
885 CGPathAddLineToPoint(path, null, point.x, point.y); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/background.ts:888:5 - error TS2304: Cannot find name 'CGPathAddLineToPoint'. | |
888 CGPathAddLineToPoint(path, null, firstPoint.x, firstPoint.y); | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font-common.ts:1:34 - error TS2724: Module '"./font"' has no exported member 'ParsedFont'. Did you mean 'parseFont'? | |
1 import { Font as FontDefinition, ParsedFont } from "./font"; | |
~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font-common.ts:131:17 | |
131 export function parseFont(fontValue: string): ParsedFont { | |
~~~~~~~~~ | |
'parseFont' is declared here. | |
node_modules/tns-core-modules/ui/styling/font-common.ts:28:21 - error TS2416: Property 'withFontFamily' in type 'Font' is not assignable to the same property in base type 'Font'. | |
Type '(family: string) => import("/Users/ryan/projects/v6test2/node_modules/tns-core-modules/ui/styling/font-common").Font' is not assignable to type '(family: string) => import("/Users/ryan/projects/v6test2/node_modules/tns-core-modules/ui/styling/font").Font'. | |
Property '_uiFont' is missing in type 'import("/Users/ryan/projects/v6test2/node_modules/tns-core-modules/ui/styling/font-common").Font' but required in type 'import("/Users/ryan/projects/v6test2/node_modules/tns-core-modules/ui/styling/font").Font'. | |
28 public abstract withFontFamily(family: string): Font; | |
~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:16:13 | |
16 private _uiFont: UIFont; | |
~~~~~~~ | |
'_uiFont' is declared here. | |
node_modules/tns-core-modules/ui/styling/font-common.ts:29:21 - error TS2416: Property 'withFontStyle' in type 'Font' is not assignable to the same property in base type 'Font'. | |
Type '(style: string) => Font' is not assignable to type '(style: FontStyle) => Font'. | |
Type 'import("/Users/ryan/projects/v6test2/node_modules/tns-core-modules/ui/styling/font-common").Font' is not assignable to type 'import("/Users/ryan/projects/v6test2/node_modules/tns-core-modules/ui/styling/font").Font'. | |
29 public abstract withFontStyle(style: string): Font; | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font-common.ts:30:21 - error TS2416: Property 'withFontWeight' in type 'Font' is not assignable to the same property in base type 'Font'. | |
Type '(weight: string) => Font' is not assignable to type '(weight: FontWeight) => Font'. | |
Type 'import("/Users/ryan/projects/v6test2/node_modules/tns-core-modules/ui/styling/font-common").Font' is not assignable to type 'import("/Users/ryan/projects/v6test2/node_modules/tns-core-modules/ui/styling/font").Font'. | |
30 public abstract withFontWeight(weight: string): Font; | |
~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font-common.ts:31:21 - error TS2416: Property 'withFontSize' in type 'Font' is not assignable to the same property in base type 'Font'. | |
Type '(size: number) => import("/Users/ryan/projects/v6test2/node_modules/tns-core-modules/ui/styling/font-common").Font' is not assignable to type '(size: number) => import("/Users/ryan/projects/v6test2/node_modules/tns-core-modules/ui/styling/font").Font'. | |
Type 'import("/Users/ryan/projects/v6test2/node_modules/tns-core-modules/ui/styling/font-common").Font' is not assignable to type 'import("/Users/ryan/projects/v6test2/node_modules/tns-core-modules/ui/styling/font").Font'. | |
31 public abstract withFontSize(size: number): Font; | |
~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:8:27 - error TS2304: Cannot find name 'CGAffineTransformMake'. | |
8 const OBLIQUE_TRANSFORM = CGAffineTransformMake(1, 0, 0.2, 1, 0, 0); | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:16:22 - error TS2304: Cannot find name 'UIFont'. | |
16 private _uiFont: UIFont; | |
~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:38:35 - error TS2304: Cannot find name 'UIFont'. | |
38 public getUIFont(defaultFont: UIFont): UIFont { | |
~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:38:44 - error TS2304: Cannot find name 'UIFont'. | |
38 public getUIFont(defaultFont: UIFont): UIFont { | |
~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:46:34 - error TS2503: Cannot find namespace 'android'. | |
46 public getAndroidTypeface(): android.graphics.Typeface { | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:77:20 - error TS2304: Cannot find name 'UIFontWeightUltraLight'. | |
77 return UIFontWeightUltraLight; | |
~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:79:20 - error TS2304: Cannot find name 'UIFontWeightThin'. | |
79 return UIFontWeightThin; | |
~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:81:20 - error TS2304: Cannot find name 'UIFontWeightLight'. | |
81 return UIFontWeightLight; | |
~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:86:20 - error TS2304: Cannot find name 'UIFontWeightRegular'. | |
86 return UIFontWeightRegular; | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:88:20 - error TS2304: Cannot find name 'UIFontWeightMedium'. | |
88 return UIFontWeightMedium; | |
~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:90:20 - error TS2304: Cannot find name 'UIFontWeightSemibold'. | |
90 return UIFontWeightSemibold; | |
~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:93:20 - error TS2304: Cannot find name 'UIFontWeightBold'. | |
93 return UIFontWeightBold; | |
~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:95:20 - error TS2304: Cannot find name 'UIFontWeightHeavy'. | |
95 return UIFontWeightHeavy; | |
~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:97:20 - error TS2304: Cannot find name 'UIFontWeightBlack'. | |
97 return UIFontWeightBlack; | |
~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:103:102 - error TS2304: Cannot find name 'UIFont'. | |
103 function getSystemFont(size: number, nativeWeight: number, italic: boolean, symbolicTraits: number): UIFont { | |
~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:104:18 - error TS2304: Cannot find name 'UIFont'. | |
104 let result = UIFont.systemFontOfSizeWeight(size, nativeWeight); | |
~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:107:18 - error TS2304: Cannot find name 'UIFont'. | |
107 result = UIFont.fontWithDescriptorSize(descriptor, size); | |
~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:113:48 - error TS2304: Cannot find name 'UIFont'. | |
113 function createUIFont(font: Font, defaultFont: UIFont): UIFont { | |
~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:113:57 - error TS2304: Cannot find name 'UIFont'. | |
113 function createUIFont(font: Font, defaultFont: UIFont): UIFont { | |
~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:114:17 - error TS2304: Cannot find name 'UIFont'. | |
114 let result: UIFont; | |
~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:121:27 - error TS2304: Cannot find name 'UIFontDescriptorSymbolicTraits'. | |
121 symbolicTraits |= UIFontDescriptorSymbolicTraits.TraitBold; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:124:27 - error TS2304: Cannot find name 'UIFontDescriptorSymbolicTraits'. | |
124 symbolicTraits |= UIFontDescriptorSymbolicTraits.TraitItalic; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:128:10 - error TS2304: Cannot find name 'UIFontSymbolicTrait'. | |
128 [UIFontSymbolicTrait]: symbolicTraits | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:134:30 - error TS2304: Cannot find name 'UIFontWeightTrait'. | |
134 fontDescriptorTraits[UIFontWeightTrait] = nativeWeight; | |
~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:145:18 - error TS2304: Cannot find name 'UIFontDescriptorFamilyAttribute'. | |
145 [UIFontDescriptorFamilyAttribute]: fontFamily, | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:146:18 - error TS2304: Cannot find name 'UIFontDescriptorTraitsAttribute'. | |
146 [UIFontDescriptorTraitsAttribute]: fontDescriptorTraits | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:149:30 - error TS2304: Cannot find name 'UIFontDescriptor'. | |
149 let descriptor = UIFontDescriptor.fontDescriptorWithFontAttributes(<any>fontAttributes); | |
~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:150:22 - error TS2304: Cannot find name 'UIFont'. | |
150 result = UIFont.fontWithDescriptorSize(descriptor, size); | |
~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:152:71 - error TS2304: Cannot find name 'UIFontDescriptorSymbolicTraits'. | |
152 let actualItalic = result.fontDescriptor.symbolicTraits & UIFontDescriptorSymbolicTraits.TraitItalic; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:156:26 - error TS2304: Cannot find name 'UIFont'. | |
156 result = UIFont.fontWithDescriptorSize(descriptor, size); | |
~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:183:26 - error TS2304: Cannot find name 'NSFileManager'. | |
183 const fontData = NSFileManager.defaultManager.contentsAtPath(filePath); | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:187:26 - error TS2304: Cannot find name 'CGDataProviderCreateWithCFData'. | |
187 const provider = CGDataProviderCreateWithCFData(fontData); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:188:22 - error TS2304: Cannot find name 'CGFontCreateWithDataProvider'. | |
188 const font = CGFontCreateWithDataProvider(provider); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:194:27 - error TS2304: Cannot find name 'interop'. | |
194 const error = new interop.Reference<NSError>(); | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:194:45 - error TS2304: Cannot find name 'NSError'. | |
194 const error = new interop.Reference<NSError>(); | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:195:14 - error TS2304: Cannot find name 'CTFontManagerRegisterGraphicsFont'. | |
195 if (!CTFontManagerRegisterGraphicsFont(font, error)) { | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:197:69 - error TS2304: Cannot find name 'CFErrorCopyDescription'. | |
197 traceWrite("Error occur while registering font: " + CFErrorCopyDescription(<NSError>error.value), traceCategories.Error, traceMessageType.error); | |
~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/font.ts:197:93 - error TS2304: Cannot find name 'NSError'. | |
197 traceWrite("Error occur while registering font: " + CFErrorCopyDescription(<NSError>error.value), traceCategories.Error, traceMessageType.error); | |
~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/style-properties.ts:7:5 - error TS2305: Module '"../animation/animation"' has no exported member 'Transformation'. | |
7 Transformation, | |
~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/style-properties.ts:8:5 - error TS2305: Module '"../animation/animation"' has no exported member 'TransformationValue'. | |
8 TransformationValue, | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/style-properties.ts:9:5 - error TS2305: Module '"../animation/animation"' has no exported member 'TransformFunctionsInfo'. | |
9 TransformFunctionsInfo, | |
~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/styling/style-properties.ts:96:23 - error TS2339: Property 'round' does not exist on type 'typeof layout'. | |
96 return layout.round(layout.toDevicePixels(length)); | |
~~~~~ | |
node_modules/tns-core-modules/ui/styling/style-properties.ts:103:27 - error TS2339: Property 'round' does not exist on type 'typeof layout'. | |
103 return layout.round(length.value); | |
~~~~~ | |
node_modules/tns-core-modules/ui/styling/style-properties.ts:105:27 - error TS2339: Property 'round' does not exist on type 'typeof layout'. | |
105 return layout.round(parentAvailableWidth * length.value); | |
~~~~~ | |
node_modules/tns-core-modules/ui/styling/style-properties.ts:108:27 - error TS2339: Property 'round' does not exist on type 'typeof layout'. | |
108 return layout.round(layout.toDevicePixels(length.value)); | |
~~~~~ | |
node_modules/tns-core-modules/ui/styling/style-properties.ts:1154:104 - error TS2322: Type '(value: any) => FontStyle' is not assignable to type '(value: string) => FontWeight'. | |
Type 'FontStyle' is not assignable to type 'FontWeight'. | |
Type '"italic"' is not assignable to type 'FontWeight'. | |
1154 name: "fontWeight", cssName: "font-weight", affectsLayout: isIOS, defaultValue: FontWeight.NORMAL, valueConverter: FontWeight.parse, valueChanged: (target, oldValue, newValue) => { | |
~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/ui/core/properties/properties.d.ts:21:14 | |
21 readonly valueConverter?: (value: string) => U; | |
~~~~~~~~~~~~~~ | |
The expected type comes from property 'valueConverter' which is declared here on type 'CssPropertyOptions<Style, FontWeight>' | |
node_modules/tns-core-modules/utils/mainthread-helper.ts:2:5 - error TS2304: Cannot find name 'NSOperationQueue'. | |
2 NSOperationQueue.mainQueue.addOperationWithBlock(func); | |
~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/utils/mainthread-helper.ts:6:12 - error TS2304: Cannot find name 'NSThread'. | |
6 return NSThread.isMainThread; | |
~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils-common.ts:181:30 - error TS2345: Argument of type 'Function' is not assignable to parameter of type '() => void'. | |
Type 'Function' provides no match for the signature '(): void'. | |
181 dispatchToMainThread(func); | |
~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:11:28 - error TS2304: Cannot find name 'UIDeviceOrientation'. | |
11 return orientation === UIDeviceOrientation.LandscapeLeft /* 3 */ || | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:12:25 - error TS2304: Cannot find name 'UIDeviceOrientation'. | |
12 orientation === UIDeviceOrientation.LandscapeRight /* 4 */; | |
~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:36:23 - error TS2304: Cannot find name 'UIView'. | |
36 const view = <UIView>nativeView; | |
~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:65:58 - error TS2304: Cannot find name 'NSArray'. | |
65 export function jsArrayToNSArray(str: string[]): NSArray<any> { | |
~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:66:20 - error TS2304: Cannot find name 'NSArray'. | |
66 return NSArray.arrayWithArray(<any>str); | |
~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:69:45 - error TS2304: Cannot find name 'NSArray'. | |
69 export function nsArrayToJSArray(a: NSArray<any>): Array<Object> { | |
~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:85:35 - error TS2304: Cannot find name 'UIDevice'. | |
85 const deviceOrientation = UIDevice.currentDevice.orientation; | |
~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:86:38 - error TS2304: Cannot find name 'UIApplication'. | |
86 const statusBarOrientation = UIApplication.sharedApplication.statusBarOrientation; | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:94:33 - error TS2304: Cannot find name 'NSString'. | |
94 export const MajorVersion = NSString.stringWithString(UIDevice.currentDevice.systemVersion).intValue; | |
~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:94:59 - error TS2304: Cannot find name 'UIDevice'. | |
94 export const MajorVersion = NSString.stringWithString(UIDevice.currentDevice.systemVersion).intValue; | |
~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:121:16 - error TS2304: Cannot find name 'NSString'. | |
121 return NSString.stringWithString(NSString.pathWithComponents(<any>paths)).stringByStandardizingPath; | |
~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:121:42 - error TS2304: Cannot find name 'NSString'. | |
121 return NSString.stringWithString(NSString.pathWithComponents(<any>paths)).stringByStandardizingPath; | |
~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:124:66 - error TS2304: Cannot find name 'UIViewController'. | |
124 export function getVisibleViewController(rootViewController: UIViewController): UIViewController { | |
~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:124:85 - error TS2304: Cannot find name 'UIViewController'. | |
124 export function getVisibleViewController(rootViewController: UIViewController): UIViewController { | |
~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:129:46 - error TS2304: Cannot find name 'UINavigationController'. | |
129 if (rootViewController.isKindOfClass(UINavigationController.class())) { | |
~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:130:47 - error TS2304: Cannot find name 'UINavigationController'. | |
130 return getVisibleViewController((<UINavigationController>rootViewController).visibleViewController); | |
~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:133:46 - error TS2304: Cannot find name 'UITabBarController'. | |
133 if (rootViewController.isKindOfClass(UITabBarController.class())) { | |
~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:134:46 - error TS2304: Cannot find name 'UITabBarController'. | |
134 return getVisibleViewController(<UITabBarController>rootViewController); | |
~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:148:28 - error TS2304: Cannot find name 'UIDocumentInteractionController'. | |
148 const controller = UIDocumentInteractionController.interactionControllerWithURL(NSURL.fileURLWithPath(path)); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:148:89 - error TS2304: Cannot find name 'NSURL'. | |
148 const controller = UIDocumentInteractionController.interactionControllerWithURL(NSURL.fileURLWithPath(path)); | |
~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:164:5 - error TS2304: Cannot find name '__collect'. | |
164 __collect(); | |
~~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:167:45 - error TS2304: Cannot find name 'NSObject'. | |
167 export function releaseNativeObject(object: NSObject) { | |
~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:168:5 - error TS2304: Cannot find name '__releaseNativeCounterpart'. | |
168 __releaseNativeCounterpart(object); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:173:21 - error TS2304: Cannot find name 'NSURL'. | |
173 const url = NSURL.URLWithString(location.trim()); | |
~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:174:13 - error TS2304: Cannot find name 'UIApplication'. | |
174 if (UIApplication.sharedApplication.canOpenURL(url)) { | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:175:20 - error TS2304: Cannot find name 'UIApplication'. | |
175 return UIApplication.sharedApplication.openURL(url); | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:186:59 - error TS2304: Cannot find name 'NSObject'. | |
186 class UIDocumentInteractionControllerDelegateImpl extends NSObject implements UIDocumentInteractionControllerDelegate { | |
~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:186:79 - error TS2304: Cannot find name 'UIDocumentInteractionControllerDelegate'. | |
186 class UIDocumentInteractionControllerDelegateImpl extends NSObject implements UIDocumentInteractionControllerDelegate { | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:187:36 - error TS2304: Cannot find name 'UIDocumentInteractionControllerDelegate'. | |
187 public static ObjCProtocols = [UIDocumentInteractionControllerDelegate]; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:189:33 - error TS2304: Cannot find name 'UIViewController'. | |
189 public getViewController(): UIViewController { | |
~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:190:21 - error TS2304: Cannot find name 'UIApplication'. | |
190 const app = UIApplication.sharedApplication; | |
~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:195:78 - error TS2304: Cannot find name 'UIDocumentInteractionController'. | |
195 public documentInteractionControllerViewControllerForPreview(controller: UIDocumentInteractionController) { | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:199:68 - error TS2304: Cannot find name 'UIDocumentInteractionController'. | |
199 public documentInteractionControllerViewForPreview(controller: UIDocumentInteractionController) { | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:203:68 - error TS2304: Cannot find name 'UIDocumentInteractionController'. | |
203 public documentInteractionControllerRectForPreview(controller: UIDocumentInteractionController): CGRect { | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:203:102 - error TS2304: Cannot find name 'CGRect'. | |
203 public documentInteractionControllerRectForPreview(controller: UIDocumentInteractionController): CGRect { | |
~~~~~~ | |
node_modules/tns-core-modules/utils/utils.ts:208:19 - error TS2304: Cannot find name 'UIScreen'. | |
208 mainScreenScale = UIScreen.mainScreen.scale; | |
~~~~~~~~ | |
Webpack compilation complete. Watching for file changes. | |
Webpack build done! | |
Installing pods... | |
Analyzing dependencies | |
Downloading dependencies | |
Installing MDFInternationalization (2.0.0) | |
Installing MaterialComponents (84.4.0) | |
Generating Pods project | |
Integrating client project | |
[!] Please close any current Xcode sessions and use `v6test2.xcworkspace` for this project from now on. | |
Sending stats | |
Pod installation complete! There is 1 dependency from the Podfile and 2 total pods installed. | |
Project successfully prepared (ios) | |
Building project... | |
Xcode build... | |
Project successfully built. | |
The build result is located at: /Users/ryan/projects/v6test2/platforms/ios/build/Debug-iphonesimulator/v6test2.app | |
Installing on device xxxA272-AB9BC0F52B08... | |
Successfully installed on device with identifier 'xxxBC-A272-AB9BC0F52B08'. | |
Successfully transferred bundle.js on device xxx-AB9BC0F52B08. | |
Successfully transferred package.json on device xxxxA272-AB9BC0F52B08. | |
Successfully transferred runtime.js on device xx-AB9BC0F52B08. | |
Successfully transferred tns_modules on device xxB9BC0F52B08. | |
Successfully transferred tns-core-modules on device xxBC0F52B08. | |
Successfully transferred inspector_modules.js on device xxC0F52B08. | |
Successfully transferred vendor.js on device xx272-AB9BC0F52B08. | |
Restarting application on device xxC-A272-AB9BC0F52B08... | |
Successfully synced application com.rynop.v6test2 on device xx-ACFB-4EBC-A272-AB9BC0F52B08. | |
CONSOLE INFO file:///node_modules/nativescript-dev-webpack/hot.js:3:0: HMR: Hot Module Replacement Enabled. Waiting for signal. | |
CONSOLE INFO file:///node_modules/nativescript-dev-webpack/hot.js:3:0: HMR: Hot Module Replacement Enabled. Waiting for signal. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment