TypeScript Coding Guidelines

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

Directories and filenames

  • 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.