Tag: Typescript

Since we have a component that displays the current value and allows the user to edit at the same time we should probably get it to only display what is appropriate for if we are currently editing or not. We will calling Toggling Edit. Add editing Property In our input-text.component.ts lets add a property called … Continue reading Visualforce and Angular – Toggle Edit Feature→

One of the advantages of using a framework that encourages creating components that are reusable is you can write less markup and code. We haven't really taken advantage of that yet. Let's get ready to edit a contact. Add Editing Let's add a new method to our remote-actions.service.ts called updateContacts. It will accept one parameter … Continue reading Visualforce and Angular – Getting Ready to Edit→

We have things working with our Contacts app so far but we should consider moving all the "definitions" of a contact to one location. Let's do that by creating a Contact class and using that in place of interfaces and implied any statements. Create Contact Class We will need a place to keep out class … Continue reading Visualforce and Angular – Adding a Contact Type→

And now for somethings to read over the weekend, if you have some spare time that is. Announcing TypeScript 2.3 Microsoft's super set of JavaScript has a new release out this week. Check out this announcement to see some of the goodness the TypeScript Team released. Is Your New Best Friend! Matt Lacey has a … Continue reading Around the Web – 20170428→

And now for somethings to read over the weekend, if you have some spare time that is. Cost to Maintain a Salesforce Credential Here is an update to the fees for certification renew for Salesforce. It looks like it will top out at $300 a year and you will be able to get vouchers for … Continue reading Around the Web – 20170331→

They say that TypeScript is a super set of JavaScript so that means that we should be able to use the TypeScript compiler to covert ECMAScript 6 (ES6) to ECMAScript 5 (ES5). Let take a look at how to do just that. Setup According to the docs the TypeScript Transpiler should be installed globally. So … Continue reading Using TypeScript to Transpile ES6 => ES5→

This past weekend was Ludum Dare 34. If you are not familiar with the Ludum Dare, it's a game jam that occurs 3 times a year where participants create a game based on a theme that was voted on leading up the weekend of the event. This time there was a time for two themes, … Continue reading Ludum Dare 34→

Some times you just want to make a few quick changes to your code and not have to wait for your full IDE to start-up. At those times you have have to use the command line to compile your TypeScript. But typing tsc app.ts --module amd --target es5 can get tedious, sure you could use … Continue reading TypeScript – Compile with Gulp→

This week Visual Studio 2015 Update 1 was released and with it TypeScript 1.7. To get the update to TypeScript install the update for Visual Studio. Then you can use the following new features: Of course if you are not using Visual Studio to compile your TypeScript feel free to install it from an alternative … Continue reading TypeScript – What’s New in 1.7→