Wrapping an Object with a Proxy in Typescript

前端 未结 0 1940
予麋鹿
予麋鹿 2020-12-05 18:22
spotifyAPI = new Proxy(new SpotifyWebApi(), {
  get: function(target: SpotifyWebApi.SpotifyWebApiJs, prop: keyof SpotifyWebApi.SpotifyWebApiJs, recievier) {
    retu         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题