TypeScriptTypeScript Core Types


Syntax

  • let variableName: VariableType;
  • function functionName(parameterName: VariableType, parameterWithDefault: VariableType = ParameterDefault, optionalParameter?: VariableType, ...variardicParameter: VariableType[]): ReturnType { /*...*/};