diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 8eceb7ec870..c185e917eb2 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -1154,8 +1154,8 @@ namespace ts { * * /// * - * which serves the purpose of ignoring the file in certain ways in the - * presence of compiler options like '--noLib' and '--noLibCheck'. + * If any other file has this comment, it signals not to include lib.d.ts + * because this containing file is intended to act as a default library. */ hasNoDefaultLib: boolean;