nju33
2019-04-22 06:14:15 UTC
» yarn tsc -p /tsconfig.json 14:26:51 yarn run Vi.LD. $ /User ../../../noae-modules/gtypes/ react-native/ globals.α.TS : 36:15 -error TS2300 : Duplicate identifier 'FormData'. 36 declare class FormData ../../api/v1/node modules/typescript/lib/lib.dom.d.ts:5292:11 92 interface FormData FormData was also declared here. 5302 and here. ../../api/v1/node modules/typescript/lib/lib.dom.d.ts:5302:13 declare var FormData: ../../../node_modules/@types/react-native/globals.d.ts:81:5 error TS2717 Subsequent property declarations must have the same typ e. Property 'body' must be of type 'string | ArrayBuffer | ArrayBufferView | Blob | FormData | URLSearchParams | ReadableStream<Ui nt8Array> null | undefined, but here has type 'string| ArrayBuffer DataView| Int8Array| Uint8Array | Uint8ClampedArray| In t16Array | Uint16Array | Int32Array | Uint32Array| Float32Array | Float64Array| Blob | FormData| null| undefined 81 body?: BodyInit_; ../../../node_modules/@types/react-native/globals.d.ts:107:14 -error TS2300: Duplicate identifier 'RequestInfo. 107 declare type RequestInfoRequest | string; ../../api/v1/node modules/typescript/lib/lib.dom.d.ts:18262:6 18262 type RequestInfoRequest | string; RequestInfo' was also declared here. ../../../node_modules/@types/react-native/globals.d.ts:126:13 -error TS2403: Subsequent variable declarations must have the same t ype. Variable 'Response' must be of type ' new (body?: string | ArrayBuffer | ArrayBufferView | Blob | FormData|URLSearchParams | ReadableStream<Uint8Array> null |undefined, init?: ResponseInit | undefined): Response; prototype: Response; error): Respons e; redirect(url: string, status?: number | undefined): Response;', but here has type new (body?: string| ArrayBuffer | DataVi ew Int8Array | Uint8Array| Uint8ClampedArray Int16Array | Uint16Array | Int32Array| Uint32Array | Float32Array | Float64Array | Blob | FormData I null I undefined, init?: Responselnit I undefined): Response; prototype : Response; error: () =>Response; redi rect: (url: ...'. 126 declare var Response: ../../../node_modules/@types/react-native/globals.d.ts:196:5 error TS2717: Subsequent property declarations must have the same ty pe. Property 'abort' must be of type 'ProgressEvent, but here has type 'Event. 196 abort: Event;