diff --git a/packages/tsconfig-reference/copy/en/options/noUnusedParameters.md b/packages/tsconfig-reference/copy/en/options/noUnusedParameters.md index 0b48fb7b9782..b6cdb8a78a43 100644 --- a/packages/tsconfig-reference/copy/en/options/noUnusedParameters.md +++ b/packages/tsconfig-reference/copy/en/options/noUnusedParameters.md @@ -13,3 +13,12 @@ const createDefaultKeyboard = (modelID: number) => { return { type: "keyboard", modelID: defaultModelID }; }; ``` + +Parameters declaration with names starting with an underscore _ are exempt from the unused parameter checking. e.g.: + +```ts twoslash +function returnNull(_a) { + // OK + return null; +} +```