NEWS
Typescript: function types (arrow function) und async
-
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)=>{}