8000 Release 0.2.1 - Literal types · scala-tsi/scala-tsi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

0.2.1 - Literal types

Compare
Choose a tag to compare
@dhoepelman dhoepelman released this 22 May 21:26
· 287 commits to master since this release

Add support for Literal types under Scala 2.13

Example:

case class DeepThought(
  query: "The Answer to Life, the Universe and Everything",
  answer: 42,
  question: None.type
)

will output:

export interface IDeepThought {
  query: "The Answer to Life, the Universe and Everything"
  answer: 42
  question: null
}
0