Provide an experimental flag that allows us to emit declarations except for nodes marked with '@internal'.

This commit is contained in:
Cyrus Najmabadi
2015-02-03 13:15:28 -08:00
parent 0ca03048cf
commit 838b9b6998
10 changed files with 84 additions and 5 deletions

View File

@@ -134,6 +134,12 @@ module ts {
type: "boolean",
description: Diagnostics.Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures,
},
{
name: "stripInternal",
type: "boolean",
description: Diagnostics.Do_not_emit_declarations_for_code_that_has_an_internal_annotation,
experimental: true
},
{
name: "target",
shortName: "t",