How connect Photon SDK js

I can't connect photon SDK, used this method but got the error
"Failed compiled" TypeScript error in D:/Projects/dots_and_boxes/src/libs/Photon-Javascript_SDK.d.ts(9,1):
Definitions of the following identifiers conflict with those in another file: Logger, Util, Ws, Wss, TypeExtType, TypeExt, PhotonPeer, Actor, RoomInfo, Room, LoadBalancingClient, LbcPeer, NameServerPeer, MasterPeer, GamePeer, Message, Channel, ChatClient TS6200

Comments

  • Maybe you import photon library twice somehow?
    Do demos from SDK work for you?