prettier/tests/typescript_nosemi/type.js

4 lines
138 B
JavaScript

type A = {disabled?: boolean, error?: string}
const foo: {aasdf?: string; asdf?: number; foob?: string; zzz?: string; yyy: string} = {}