Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Русский
    3. ioBroker
    4. Скрипты
    5. ioBroker скрипты
    6. Глобальные функции

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Глобальные функции

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Pooh last edited by

      Что-то у меня не завелась конструкция

      // global script:
      // ==============
      function globalFn(arg: string): void {
          // actual implementation
      }
      
      // normal script:
      // ==============
      declare function globalFn(arg: string): void;
      // use as normal:
      globalFn("test");
      
      

      2689__________2018-10-29_11.12.41.jpg

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Support us

      ioBroker
      Community Adapters
      Donate

      749
      Online

      31.8k
      Users

      80.0k
      Topics

      1.3m
      Posts

      1
      1
      2168
      Loading More Posts
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      Community
      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
      The ioBroker Community 2014-2023
      logo