prettier/tests/optional-type-name/test.js

4 lines
60 B
JavaScript

type Foo = (any) => string
type Bar = { [string]: number }