[−][src]Crate dprint_plugin_typescript
Structs
| ConfigurationDiagnostic | Represents a problem within the configuration. |
| ParseConfigurationError | |
| ResolveConfigurationResult | |
| ResolvedTypeScriptConfiguration | |
| TypeScriptConfiguration | TypeScript formatting configuration builder. |
Enums
| BracePosition | Where to place the opening brace. |
| MemberSpacing | How to space members. |
| NewLineKind | |
| NextControlFlowPosition | Where to place the next control flow within a control flow statement. |
| OperatorPosition | Where to place the operator for expressions that span multiple lines. |
| SingleBodyPosition | Where to place the expression of a statement that could possibly be on one line (ex. |
| TrailingCommas | Trailing comma possibilities. |
| UseBraces | If braces should be used or not in certain scenarios. |
| UseParentheses | Whether to use parentheses around a single parameter in an arrow function. |
Functions
| format_text | Formats a file. |
| resolve_config | Resolves configuration from a collection of key value strings. |