Merge pull request #8913 from backstage/rugvip/shtoyle

STYLE: recommend prefixed type parameter names
This commit is contained in:
Johan Haals
2022-01-13 15:15:02 +01:00
committed by GitHub
+1
View File
@@ -15,6 +15,7 @@ Our TypeScript style is inspired by the [style guidelines](https://github.com/Mi
1. Use camelCase for property names and local variables.
1. Do not use `_` as a prefix for private properties.
1. Use whole words in names when possible.
1. Give type parameters names prefixed with `T`, for example `Request<TBody>`.
## Syntax and Types