var console: Consoleconsole.e
  • error
const
const a: {
    test: "foo" | "bar" | "baz";
}
a
: { test: "foo" | "bar" | "baz"test: 'foo' | 'bar' | 'baz' } = {
test: "foo" | "bar" | "baz"test: 'foo' }
const a: {
    test: "foo" | "bar" | "baz";
}
a
.t
  • test
const a: {
    test: "foo" | "bar" | "baz";
}
a
.test: "foo" | "bar" | "baz"test === '
  • foo
  • bar
  • baz
const a: {
    test: "foo" | "bar" | "baz";
}
a
.test: "foo" | "bar" | "baz"test === 'b
  • bar
  • baz
const a: {
    test: "foo" | "bar" | "baz";
}
a
.test: "foo" | "bar" | "baz"test === 'b
  • bar
  • baz
ar'
const a: {
    test: "foo" | "bar" | "baz";
}
a
.test: "foo" | "bar" | "baz"test === '
  • foo
  • bar
  • baz
bar'