TypeScript coding guidelines

Excel Micro TypeScript Style Guide for TypeScript should be used throughout the TYPO3 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.