diff --git a/Web/X - API JS-DOM/index.md b/Web/X - API JS-DOM/index.md index 569b257..8d787e6 100644 --- a/Web/X - API JS-DOM/index.md +++ b/Web/X - API JS-DOM/index.md @@ -40,3 +40,9 @@ include_toc: true ``` + +đŸ’¡ En Typescript, vous pouvez prĂ©ciser le type de retour : + +```typescript +document.querySelector($CSS_SELECTOR) // retourne un DIV +```