NEWS
Typescript: function types (arrow function) und async
Skripten / Logik
2
Beiträge
2
Kommentatoren
195
Aufrufe
2
Watching
-
Ich habe die folgende Frage:
Es funktioniert:
async function Demo1 (value: boolean) { }Warum kommt bei function types (=arrow function) ein Compilerfehler:
async var Demo2 = (value: boolean) => { } -
Ich habe die folgende Frage:
Es funktioniert:
async function Demo1 (value: boolean) { }Warum kommt bei function types (=arrow function) ein Compilerfehler:
async var Demo2 = (value: boolean) => { }@automatisierer-0
var Demo2 = async (value: boolean)=>{}