Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit f475256

Browse files
chalinkwalrath
authored andcommitted
example(toh-1): fix type error in snippet (#2219)
Fixes #2216.
1 parent 2ec0747 commit f475256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/docs/_examples/toh-1/dart-snippets/app_component_snippets_pt1.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ template: '''
3232
// #docregion app-component-1
3333
class AppComponent {
3434
String title = 'Tour of Heroes';
35-
Hero hero = 'Windstorm';
35+
var hero = 'Windstorm';
3636
}
3737
// #enddocregion app-component-1

0 commit comments

Comments
 (0)