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

undefined msgzk properties is used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 9.6.0
    • 8.5.2, 9.5.1.2
    • None
    • None

      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

       

            katherinelin katherinelin
            Leon03 Leon03
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: