@samatawy/diagrams
    Preparing search index...

    Function downloadTextFile

    • Downloads text content as a file in browser runtimes.

      Parameters

      • content: string

        File content.

      • fileName: string

        Download file name.

      • mimeType: string = 'application/json'

        File MIME type.

      Returns string

      The file name used for download.