TypeScript
class TypeScript
Constants
| RESERVED_KEYWORDS |
|
Methods
static string
safeMethod(string $method, string $suffix)
Convert a method name into a TypeScript-safe identifier.
static string
quoteIfNeeded(string $name)
Quote a value that is not a valid TypeScript object key identifier.
static string
cleanUp(string $view)
Normalize whitespace, indentation, and spacing in generated TypeScript.
Details
at line 66
static string
safeMethod(string $method, string $suffix)
Convert a method name into a TypeScript-safe identifier.
at line 91
static string
quoteIfNeeded(string $name)
Quote a value that is not a valid TypeScript object key identifier.
at line 103
static string
cleanUp(string $view)
Normalize whitespace, indentation, and spacing in generated TypeScript.