PEP 698: Fix capitalization of "TypeScript"

This commit is contained in:
Brett Cannon 2022-11-08 15:12:42 -08:00 committed by GitHub
parent 7a7b1f6a2e
commit 11669a5772
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ Many popular programming languages support override checks. For example:
- `Kotlin has <https://kotlinlang.org/docs/inheritance.html#overriding-methods/>`_ ``override``. - `Kotlin has <https://kotlinlang.org/docs/inheritance.html#overriding-methods/>`_ ``override``.
- `Scala has <https://www.javatpoint.com/scala-method-overriding/>`_ ``override``. - `Scala has <https://www.javatpoint.com/scala-method-overriding/>`_ ``override``.
- `Swift has <https://docs.swift.org/swift-book/LanguageGuide/Inheritance.html#ID198/>`_ ``override``. - `Swift has <https://docs.swift.org/swift-book/LanguageGuide/Inheritance.html#ID198/>`_ ``override``.
- `Typescript has <https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-3.html#override-and-the---noimplicitoverride-flag/>`_ ``override``. - `TypeScript has <https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-3.html#override-and-the---noimplicitoverride-flag/>`_ ``override``.
Runtime Override Checks in Python Runtime Override Checks in Python
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -293,7 +293,7 @@ Most of the typed, object-oriented programming languages we looked at have an
easy way to require explicit overrides throughout a project: easy way to require explicit overrides throughout a project:
- C#, Kotlin, Scala, and Swift always require explicit overrides - C#, Kotlin, Scala, and Swift always require explicit overrides
- Typescript has a - TypeScript has a
`--no-implicit-override <https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-3.html#override-and-the---noimplicitoverride-flag/>`_ `--no-implicit-override <https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-3.html#override-and-the---noimplicitoverride-flag/>`_
flag to force explicit overrides flag to force explicit overrides
- In Hack and Java the type checker always treats overrides as opt-in, but - In Hack and Java the type checker always treats overrides as opt-in, but