prettier/tests/typescript_non_null/parens.ts

12 lines
157 B
TypeScript

(a ? b : c) ![tokenKey];
(a || b) ![tokenKey];
(void 0)!;
async function f() {
return (await foo())!;
}
function* g() {
return (yield * foo())!;
}