From 281c4cd8fcf5fd54f558a6922736def2c7804529 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Tue, 22 Jun 2021 07:18:32 +1000 Subject: feat(cli): support "types" when type checking (#10999) Fixes #10677 --- docs/typescript/configuration.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/typescript/configuration.md') diff --git a/docs/typescript/configuration.md b/docs/typescript/configuration.md index ed5af56d7..752b6da71 100644 --- a/docs/typescript/configuration.md +++ b/docs/typescript/configuration.md @@ -197,3 +197,10 @@ The biggest "danger" when doing something like this, is that the type checking is significantly looser, and there is no way to validate that you are doing sufficient and effective feature detection in your code, which may lead to what could be trivial errors becoming runtime errors. + +### Using the "types" property + +The `"types"` property in `"compilerOptions"` can be used to specify arbitrary +type definitions to include when type checking a programme. For more information +on this see +[Using ambient or global types](./types#using-ambient-or-global-types). -- cgit v1.2.3