diff --git a/doc/release-notes/TypeScript 3.0.md b/doc/release-notes/TypeScript 3.0.md index 3b1e009..c4e248e 100644 --- a/doc/release-notes/TypeScript 3.0.md +++ b/doc/release-notes/TypeScript 3.0.md @@ -300,7 +300,7 @@ export interface Props { export class Greet extends React.Component { render() { const { name } = this.props; - return
Hello ${name.toUpperCase()}!
; + return
Hello {name.toUpperCase()}!
; } static defaultProps = { name: "world"}; } @@ -321,7 +321,7 @@ let el = ```tsx function Greet({ name = "world" }: Props) { - return
Hello ${name.toUpperCase()}!
; + return
Hello {name.toUpperCase()}!
; } ```