Chrome Developer Tools Invoke Property Getter
You can try putting it through JSON stringify which will call all the getters: console.log(JSON.parse(JSON.stringify(myObj)));
You can try putting it through JSON stringify which will call all the getters: console.log(JSON.parse(JSON.stringify(myObj)));
This is not a compiler error. It is just editor validation error(lint warning) as this is not a common way to deal with Ids. So if your app supporting API 17 and higher, you can call View.generateViewId as titleView.setId(View.generateViewId()); and sv.setId(View.generateViewId()); and for API<17 open your project’s res/values/ folder create an xml file called ids.xml … Read more
Just use JSON.stringify(object). It’s built into Javascript and can therefore also be used within Typescript.
Chrome recently added support for source maps in the developer tools. If you go under settings on the chrome developer toolbar you can see the following two options: If you disable those two options, and refresh the browser, it should no longer ask for source maps. These settings can be found here: