ReSharper 2016.1 Help

Predefined File Templates for TypeScript

ReSharper | Templates Explorer | File Templates | TypeScript

This topic lists all predefined file templates for TypeScript in ReSharper 2016.1.1. For more information about file templates, see Creating Files from Templates

TemplateDetails
TypeScript Class

TypeScript Class

Scope Projects with TypeScript

Body

$HEADER$class $CLASS$ {$END$}

Parameters

  • HEADER - Inserts the file header specified in the ReSharper options. (fileheader)
  • CLASS - Evaluates current file name without extension (getFileNameWithoutExtension)
  • END - The caret position after the template is applied.
TypeScript Empty File

TypeScript Empty File

Scope Projects with TypeScript

Body

$HEADER$$END$

Parameters

  • HEADER - Inserts the file header specified in the ReSharper options. (fileheader)
  • END - The caret position after the template is applied.
TypeScript Interface

TypeScript Interface

Scope Projects with TypeScript

Body

$HEADER$interface $IFACE$ {$END$}

Parameters

  • HEADER - Inserts the file header specified in the ReSharper options. (fileheader)
  • IFACE - Evaluates current file name without extension (getFileNameWithoutExtension)
  • END - The caret position after the template is applied.
TypeScript Module

TypeScript Module

Scope Projects with TypeScript

Body

$HEADER$module $MODULE$ {$END$}

Parameters

  • HEADER - Inserts the file header specified in the ReSharper options. (fileheader)
  • MODULE - Evaluates current file name without extension (getFileNameWithoutExtension)
  • END - The caret position after the template is applied.
Last modified: 19 August 2016