@servicenow/sdk - v4.4.1
    Preparing search index...
    DateToString: <F extends DateFormatChoice>(
        input: Date,
        format: F,
        ...rest: F extends "Custom" ? [customFormat: string] : [],
    ) => string

    Type Declaration

      • <F extends DateFormatChoice>(
            input: Date,
            format: F,
            ...rest: F extends "Custom" ? [customFormat: string] : [],
        ): string
      • Type Parameters

        Parameters

        • input: Date
        • format: F
        • ...rest: F extends "Custom" ? [customFormat: string] : []

        Returns string