From 0627a63723f415dff981b9d66e568386396fd2cf Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Thu, 13 Jan 2022 14:19:51 +0100 Subject: [PATCH] STYLE: recommend prefix of type parameter names Signed-off-by: Patrik Oldsberg --- STYLE.md | 1 + 1 file changed, 1 insertion(+) diff --git a/STYLE.md b/STYLE.md index 8fbe87eb5f..d968d387fc 100644 --- a/STYLE.md +++ b/STYLE.md @@ -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`. ## Syntax and Types