Belajar Typescript
Free!
With Membership
$7.99
Harga yang disarankan

Belajar Typescript

Tentang Buku

TypeScript adalah bahasa pemrograman berbasis JavaScript yang menambahkan fitur strong-typing & konsep pemrograman OOP klasik ( class, interface). Di dalam dokumentasinya, TypeScript disebut sebagai super-set dari JavaScript, artinya semua kode JavaScript adalah kode TypeScript juga. Kompiler TypeScript menterjemahkan (transpile) sintaks TypeScript ke dalam JavaScript standar yang sudah kita kenal.

Tentunya untuk sintaks/konsep OOP belum didukung di JavaScript hanya dipakai oleh TypeScript Compiler (TSC) untuk memverifikasi kode TypeScript yang kita tulis & nggak ada di file JavaScript hasil kompilasi. Bukan berarti konsep ini nggak berguna, justru sebaliknya adanya fitur ini membuat kita bisa menulis aplikasi yang kompleks dengan relatif lebih mudah tanpa perlu pusing mikirin dukungan browser (hasilnya toh tetap JavaScript).

Dalam buku ini Anda akan berkenalan dengan sintaks, tipe data, dan fitur OOP yang dibawa oleh TypeScript. 

Tentang Penulis

Daftar Isi

1. Introduksi

  1. Hello TS
  2. Variabel & Tipe Data
  3. Custom Type
  4. Union Type
  5. Type Assertion
  6. Let atau Var ?
  7. Function
  8. Namespace

2. Interface & Kelas

  1. Abstraksi
  2. Turunan
  3. Generics
  4. Variabel & Function Statis

3. Modul

  1. Ekspor & Impor
  2. Ekspor Lebih dari Satu
  3. Ekspor Function

4. Contoh Aplikasi: Kalkulator

  1. Optimasi
  2. Minifikasi

5. Debugging

  1. Source Map
  2. Minifikasi

6. Library Pihak Ketiga

  1. Ambient Declaration
  2. Type-Definition

7. Penutup

Jaminan Kepuasan 100%, Bebas Resiko, Tanpa Syarat ala Leanpub

Dalam 60 hari sesudah pembelian Anda bisa memperoleh 100% refund atas pembelian di Leanpub dengan dua klik. Kami memproses refund secara manual, sehingga mungkin butuh beberapa hari sampai selesai.
Lihat ketentuan lengkap

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets, and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

Authors and publishers use Leanpub to publish amazing in-progress and completed ebooks, just like this one. You can use Leanpub to write, publish and sell your book as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub