@servicenow/sdk - v4.4.1
    Preparing search index...

    Interface SupportedFormatCodeSettings

    FormatCodeSettings that are currently supported in the library.

    interface SupportedFormatCodeSettings {
        baseIndentSize?: number;
        convertTabsToSpaces?: boolean;
        indentSize?: number;
        indentStyle?: tsc.IndentStyle;
        insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces: boolean;
        newLineCharacter?: string;
        tabSize?: number;
        trimTrailingWhitespace?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    baseIndentSize?: number
    convertTabsToSpaces?: boolean
    indentSize?: number
    indentStyle?: tsc.IndentStyle
    insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces: boolean

    Whether to insert a space after opening and before closing non-empty braces.

    ex. import { Item } from "./Item"; or import {Item} from "./Item";

    Defaults to true.

    newLineCharacter?: string
    tabSize?: number
    trimTrailingWhitespace?: boolean