Skip to content

Commit 81e2cda

Browse files
committed
Add typealias for any typed dictionary to store arbitrary context-dependent data.
1 parent dcf3d61 commit 81e2cda

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Sources/TSCUtility/Context.swift

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/*
2+
This source file is part of the Swift.org open source project
3+
4+
Copyright (c) 2020 Apple Inc. and the Swift project authors
5+
Licensed under Apache License v2.0 with Runtime Library Exception
6+
7+
See http://swift.org/LICENSE.txt for license information
8+
See http://swift.org/CONTRIBUTORS.txt for Swift project authors
9+
*/
10+
11+
import Foundation
12+
13+
/// Typealias for an any typed dictionary for arbitrary usage to store context.
14+
public typealias Context = [ObjectIdentifier: Any]

0 commit comments

Comments
 (0)