Skip to content

Commit

Permalink
Do not include experimental options in the public API.
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrusNajmabadi committed Mar 13, 2015
1 parent 8e9e5e2 commit 9445b03
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 51 deletions.
6 changes: 3 additions & 3 deletions src/compiler/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1558,9 +1558,9 @@ module ts {
target?: ScriptTarget;
version?: boolean;
watch?: boolean;
stripInternal?: boolean;
preserveNewLines?: boolean;
cacheDownlevelForOfLength?: boolean;
/* @internal */ stripInternal?: boolean;
/* @internal */ preserveNewLines?: boolean;
/* @internal */ cacheDownlevelForOfLength?: boolean;
[option: string]: string | number | boolean;
}

Expand Down
3 changes: 0 additions & 3 deletions tests/baselines/reference/APISample_compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -1237,9 +1237,6 @@ declare module "typescript" {
target?: ScriptTarget;
version?: boolean;
watch?: boolean;
stripInternal?: boolean;
preserveNewLines?: boolean;
cacheDownlevelForOfLength?: boolean;
[option: string]: string | number | boolean;
}
const enum ModuleKind {
Expand Down
9 changes: 0 additions & 9 deletions tests/baselines/reference/APISample_compile.types
Original file line number Diff line number Diff line change
Expand Up @@ -3947,15 +3947,6 @@ declare module "typescript" {
watch?: boolean;
>watch : boolean

stripInternal?: boolean;
>stripInternal : boolean

preserveNewLines?: boolean;
>preserveNewLines : boolean

cacheDownlevelForOfLength?: boolean;
>cacheDownlevelForOfLength : boolean

[option: string]: string | number | boolean;
>option : string
}
Expand Down
3 changes: 0 additions & 3 deletions tests/baselines/reference/APISample_linter.js
Original file line number Diff line number Diff line change
Expand Up @@ -1268,9 +1268,6 @@ declare module "typescript" {
target?: ScriptTarget;
version?: boolean;
watch?: boolean;
stripInternal?: boolean;
preserveNewLines?: boolean;
cacheDownlevelForOfLength?: boolean;
[option: string]: string | number | boolean;
}
const enum ModuleKind {
Expand Down
9 changes: 0 additions & 9 deletions tests/baselines/reference/APISample_linter.types
Original file line number Diff line number Diff line change
Expand Up @@ -4093,15 +4093,6 @@ declare module "typescript" {
watch?: boolean;
>watch : boolean

stripInternal?: boolean;
>stripInternal : boolean

preserveNewLines?: boolean;
>preserveNewLines : boolean

cacheDownlevelForOfLength?: boolean;
>cacheDownlevelForOfLength : boolean

[option: string]: string | number | boolean;
>option : string
}
Expand Down
3 changes: 0 additions & 3 deletions tests/baselines/reference/APISample_transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -1269,9 +1269,6 @@ declare module "typescript" {
target?: ScriptTarget;
version?: boolean;
watch?: boolean;
stripInternal?: boolean;
preserveNewLines?: boolean;
cacheDownlevelForOfLength?: boolean;
[option: string]: string | number | boolean;
}
const enum ModuleKind {
Expand Down
9 changes: 0 additions & 9 deletions tests/baselines/reference/APISample_transform.types
Original file line number Diff line number Diff line change
Expand Up @@ -4043,15 +4043,6 @@ declare module "typescript" {
watch?: boolean;
>watch : boolean

stripInternal?: boolean;
>stripInternal : boolean

preserveNewLines?: boolean;
>preserveNewLines : boolean

cacheDownlevelForOfLength?: boolean;
>cacheDownlevelForOfLength : boolean

[option: string]: string | number | boolean;
>option : string
}
Expand Down
3 changes: 0 additions & 3 deletions tests/baselines/reference/APISample_watcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -1306,9 +1306,6 @@ declare module "typescript" {
target?: ScriptTarget;
version?: boolean;
watch?: boolean;
stripInternal?: boolean;
preserveNewLines?: boolean;
cacheDownlevelForOfLength?: boolean;
[option: string]: string | number | boolean;
}
const enum ModuleKind {
Expand Down
9 changes: 0 additions & 9 deletions tests/baselines/reference/APISample_watcher.types
Original file line number Diff line number Diff line change
Expand Up @@ -4216,15 +4216,6 @@ declare module "typescript" {
watch?: boolean;
>watch : boolean

stripInternal?: boolean;
>stripInternal : boolean

preserveNewLines?: boolean;
>preserveNewLines : boolean

cacheDownlevelForOfLength?: boolean;
>cacheDownlevelForOfLength : boolean

[option: string]: string | number | boolean;
>option : string
}
Expand Down

0 comments on commit 9445b03

Please sign in to comment.