Javascript Library with typings is Not a Module (React Native)
问题 I'm trying to integrate a Javascript Library (Microsoft Playfab) into my React Native app as per recommended here. The library comes with typings and has the structure as shown here. I have a file playfabWrapper.ts with the following. /// <reference path="../../node_modules/playfab-web-sdk/src/Typings/PlayFab/PlayfabClientApi.d.ts" /> import Playfab from 'playfab-web-sdk/src/PlayFab/PlayFabClientApi.js'; function test(titleId: string, customId: string/*, success: (data: PlayFabClientModels