Skip to content

Commit 949e718

Browse files
committed
feat(demo): add type annotations
1 parent 42569fa commit 949e718

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Demo/FirstViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class FirstViewController: UIViewController {
1212
view.height = 300
1313
view.backgroundColor = UIColor.red
1414

15-
let options = [
15+
let options: [SemiModalOption : Any] = [
1616
SemiModalOption.pushParentBack: true
1717
]
1818

Demo/SecondViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class SecondViewController: UIViewController {
88
}
99

1010
@IBAction func show(_ sender: AnyObject) {
11-
let options = [
11+
let options: [SemiModalOption : Any] = [
1212
SemiModalOption.pushParentBack: false
1313
]
1414

0 commit comments

Comments
 (0)