TypeScript là một ngôn ngữ lập trình hướng đối tượng, có kiểu mạnh, biên dịch sang JavaScript. TypeScript là tập hợp con của JavaScript và hỗ trợ tất cả các tính năng của JavaScript cùng với kiểu tĩnh không bắt buộc.
Công cụ TypeScript có thể giúp phát hiện và ngăn chặn các lỗi mà bạn có thể không nhận thấy trong JavaScript thuần tuý.
Sau khi cài đặt, bạn có quyền truy cập vào tất cả các loại do đối tượng google.ima hiển thị trong mã của riêng bạn. Bạn cũng có thể tận dụng tính năng hoàn thành mã và hỗ trợ nội dung cho các phương thức và thuộc tính IMA trong các trình chỉnh sửa mã nguồn có các tính năng đó, ví dụ: Visual Studio Code.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-03-07 UTC."],[[["TypeScript is a strongly typed, object-oriented programming language that compiles to JavaScript and supports all of JavaScript's features plus optional static typing."],["TypeScript tooling helps in detecting and preventing bugs that might go unnoticed in plain JavaScript."],["DefinitelyTyped is an open-source project containing type declaration files for various packages, including the IMA SDK library."],["Installing the IMA types using npm from the @types/google-interactive-media-ads package gives you access to all types exposed by the google.ima object."],["After installation, source code editors with features like code completion and content assist can be used to take full advantage of IMA methods and properties."]]],[]]