ios - TypeScript compiler failed with exit code 1 -


unable build ios after adding reference ios.d.ts in references.d.ts

/// <reference path="./node_modules/tns-core-modules/tns-core-modules.d.ts" /> /// <reference path="./node_modules/tns-platform-declarations/ios.d.ts" /> 

showing following error on build

node_modules/tns-platform-declarations/ios/objc-i386/objc!coreaudio.d.ts(7,13): error ts2403: subsequent variable declarations must have same type.  variable 'audiobuffer' must of type '{ new (): audiobuffer; prototype: audiobuffer; }', here has type 'structtype<audiobuffer>'.  node_modules/tns-platform-declarations/ios/objc-i386/objc!uikit.d.ts(4954,15): error ts2300: duplicate identifier 'uievent'.  node_modules/tns-platform-declarations/ios/objc-i386/objc!uikit.d.ts(4954,15): error ts2417: class static side 'typeof uievent' incorrectly extends base class static side 'typeof nsobject'.   types of property 'alloc' incompatible.     type '() => uievent' not assignable type '() => nsobject'.       type 'uievent' not assignable type 'nsobject'.         property 'accessibilityactivationpoint' missing in type 'uievent'.  node_modules/typescript/lib/lib.d.ts(14991,11): error ts2300: duplicate identifier 'uievent'.  node_modules/typescript/lib/lib.d.ts(14997,13): error ts2300: duplicate identifier 'uievent'. 


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -