Skip to content

Commit 72a0833

Browse files
committed
Improve presentation of "illustrative purposes" notice
1 parent e66ec2c commit 72a0833

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

playground/src/PlaygroundView.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,6 @@ export class PlaygroundView extends React.Component<IPlaygroundViewProps, IPlayg
156156
{this._renderSelectSample()}
157157
{this._renderThemeSelector()}
158158
</div>
159-
<div className="playground-notice-banner" style={bannerStyle}>
160-
TSDoc does not parse Typescript. Typescript code used here is for illustrative purposes only.
161-
</div>
162159
<CodeEditor
163160
className="playground-input-text-editor"
164161
style={editorStyle}

playground/src/samples/basicSample.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@
1313
function getAverage(x: number, y: number): number {
1414
return (x + y) / 2.0;
1515
}
16+
17+
// The TypeScript function is included for illustrative purposes.
18+
// It is not processed by the TSDoc parser.

0 commit comments

Comments
 (0)