@decimalturn/toml-patch 0.5.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/toml-patch.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//! @decimalturn/toml-patch v0.
|
|
1
|
+
//! @decimalturn/toml-patch v0.6.0 - https://github.com/DecimalTurn/toml-patch - @license: MIT
|
|
2
2
|
interface Location {
|
|
3
3
|
start: Position;
|
|
4
4
|
end: Position;
|
|
@@ -222,7 +222,17 @@ declare class TomlFormat {
|
|
|
222
222
|
*
|
|
223
223
|
*/
|
|
224
224
|
truncateZeroTimeInDates?: boolean;
|
|
225
|
-
|
|
225
|
+
/**
|
|
226
|
+
* Whether to use tabs instead of spaces for indentation/padding.
|
|
227
|
+
* When enabled, lines that need to be indented will use tabs.
|
|
228
|
+
*
|
|
229
|
+
* @example
|
|
230
|
+
* - true: Uses tabs for indentation
|
|
231
|
+
* - false: Uses spaces for indentation (default)
|
|
232
|
+
*
|
|
233
|
+
*/
|
|
234
|
+
useTabsForIndentation?: boolean;
|
|
235
|
+
constructor(newLine?: string, trailingNewline?: number, trailingComma?: boolean, bracketSpacing?: boolean, inlineTableStart?: number, truncateZeroTimeInDates?: boolean, useTabsForIndentation?: boolean);
|
|
226
236
|
/**
|
|
227
237
|
* Creates a new TomlFormat instance with default formatting preferences.
|
|
228
238
|
*
|