ArkTS is the default development language for OpenHarmony applications. It builds upon TypeScript with enhanced static typing to improve program stability and performance.
| Syntax Learning | references/en/introduction-to-arkts.md | | Quick Overview | references/en/arkts-get-started.md | | TS Migration | references/en/typescript-to-arkts-migration-guide.md | | Migration Background | references/en/arkts-migration-background.md | | Performance | references/en/arkts-high-performance-programming.md |
| var x | let x | | any/unknown | Specific types | | {n: 42} object literal | Define class/interface first | | [index: T]: U index signature | Record | | A & B intersection type | interface C extends A, B | | function(){} function expression | () => {} arrow function | | value type assertion | value as Type |
Guida alla sintassi, migrazione e ottimizzazione di ArkTS per lo sviluppo di HarmonyOS/OpenHarmony. Trigger su: file .ets, parole chiave ArkTS, contesto HarmonyOS/OpenHarmony, pacchetti @ohos. Guida con riferimento alla sintassi, migrazione di TypeScript, ottimizzazione delle prestazioni, errori di compilazione, gestione dello stato, sviluppo di componenti e domande specifiche della lingua. Fonte: summerkaze/skill-arkts-syntax-assistant.