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
Post a Comment