Attention

TYPO3 v9 has reached its end-of-life September 30th, 2021 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.

You can order Extended Long Term Support (ELTS) here: TYPO3 ELTS.

TypeScript Coding Guidelines

Excel Micro TypeScript Style Guide for TypeScript should be used throughout the TYPO3 CMS core for TypeScript files.

Directories and File Names

  • TypeScript files should have the file ending .ts

  • TypeScript files are located under <extension>/Resources/Private/TypeScript/

Format

  • Use spaces, not TABs.

  • Indent with 2 spaces.

More information

  • See Setup IDE / Editor in this manual for information about setting up your Editor / IDE to adhere to the coding guidelines.