Closed Metalmate closed 8 years ago
Yeah I'm not sure sorry... I don't use typescript, that was added by someone else... I'm ask some people
Fixed by the TS def author, change is on NPM
Only for complement, if you are having issues with TypeScript which will probably give you the error:
error TS2339: Property 'ObjCProtocols' does not exist on type '() => void'.
The easiest fix is implement from:
appDelegate.ObjCProtocols = [UIApplicationDelegate];
to (as any):
(appDelegate as any).ObjCProtocols = [UIApplicationDelegate];
Also, you can add to your reference.d.ts:
declare var UIResponder: any;
declare var UIApplicationDelegate: any;
Everytime i run my application I recieve the following error:
error TS2656: Exported external package typings file 'PATH/node_modules/nativescript-google-analytics/index.d.ts' is not a module. Please contact the package author to update the package definition.