}async function bar(): Promise<FooArg> { // ... } With this setup typescript will catch type incompatibility if we again don't await and accidentally pass ...
確定! 回上一頁