Skip to content

Commit 2574d9f

Browse files
committed
Fix imports
1 parent 1a5a07a commit 2574d9f

File tree

12 files changed

+38
-10
lines changed

12 files changed

+38
-10
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
Copyright [2019] [BQ]
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
17+
#if canImport(Mini)
18+
@_exported import Mini
19+
#endif

Sources/MiniPromises/Utils/Extensions/Dictionary+Extensions.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
import Foundation
18-
import Mini
1918

2019
extension Dictionary where Value: PromiseType, Key: Hashable {
2120
public subscript(promise key: Key) -> Value {

Sources/MiniPromises/Utils/Extensions/Store+Extensions.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
import Foundation
18-
import Mini
1918

2019
public extension Promise {
2120
func notify<T: StoreType>(to store: T) {

Sources/MiniPromises/Utils/RxSwift/ObservableType+Extensions.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
import Foundation
18-
import Mini
1918
import RxSwift
2019

2120
public enum Promises {}

Sources/MiniPromises/Utils/RxSwift/PrimitiveSequenceType+Extensions.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
// */
1616

1717
import Foundation
18-
import Mini
1918
import RxSwift
2019

2120
public extension PrimitiveSequenceType where Self: ObservableConvertibleType, Self.Trait == SingleTrait {

Sources/MiniTasks/MiniTasks.swift

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
Copyright [2019] [BQ]
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
17+
#if canImport(Mini)
18+
@_exported import Mini
19+
#endif

Sources/MiniTasks/Utils/PayloadAction.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
import Foundation
18-
import Mini
1918

2019
public protocol PayloadAction {
2120
associatedtype Payload

Sources/MiniTasks/Utils/RxSwift/ObservableType+Extensions.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
import Foundation
18-
import Mini
1918
import RxSwift
2019

2120
public extension ObservableType where Element: StateType {

Tests/MiniSwiftTests/Common.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import Foundation
2-
@testable import Mini
32
@testable import MiniPromises
43
@testable import MiniTasks
54
import RxSwift

Tests/MiniSwiftTests/PromiseTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@testable import Mini
21
@testable import MiniPromises
32
import Nimble
43
import XCTest

0 commit comments

Comments
 (0)