prettier/tests/typescript_cast/parenthesis.ts

9 lines
117 B
TypeScript

<DocumentHighlightKind>(a ? b : c);
<any>(() => {});
<x>a || {};
<x>a && [];
true || <x>a;
<x>a + <x>b;
(<x>a) = 1;