Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4856

undefined msgzk properties is used

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 8.5.2, 9.5.1.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Steps to Reproduce

      https://github.com/zkoss/zk/blob/ea517de0c3ebd851e33bc7c7983ea20c84f9fe64/zk/src/archive/web/js/zk/fmt/msgfmt.ts#L54

      msgzk.BYTES is never defined

      https://github.com/zkoss/zk/blob/ea517de0c3ebd851e33bc7c7983ea20c84f9fe64/zk/src/archive/web/js/zk/fmt/msgfmt.ts#L57

      msgzk.GBYTES, msgzk.TBYTES is never defined

      Current Result

      Property 'BYTES' does not exist on type 'typeof msgzk'. Did you mean 'KBYTES'?ts(2551)

      Expected Result

      remove undefined variables or define them.

      Debug Information

       

      Workaround

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            Leon03 Leon03
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: