UNPKG
@smithy/types
Version:
latest (4.20.0)
4.20.0
4.19.0
4.18.0
4.17.2
4.17.1
4.17.0
4.16.1
4.16.0
4.15.1
4.15.0
4.14.4
4.14.3
4.14.2
4.14.1
4.14.0
4.13.1
4.13.0
4.12.1
4.12.0
4.11.0
4.10.0
4.9.0
4.8.1
4.8.0
4.7.1
4.7.0
4.6.0
4.5.0
4.4.0
4.3.2
4.3.1
4.3.0
4.2.0
4.1.0
4.0.0
3.7.2
3.7.1
3.7.0
3.6.0
3.5.0
3.4.2
3.4.1
3.4.0
3.3.0
3.2.0
3.1.0
3.0.0
2.12.0
2.11.0
2.10.1
2.10.0
2.9.1
2.9.0
2.8.0
2.7.0
2.6.0
2.5.0
2.4.0
2.3.5
2.3.4
2.3.3
2.3.2
2.3.1
2.3.0
2.2.2
2.2.1
2.2.0
2.1.0
2.0.2
2.0.1
2.0.0
1.2.0
1.1.1
1.1.0
1.0.0
github.com/smithy-lang/smithy-typescript/tree/main/packages/types
smithy-lang/smithy-typescript
@smithy/types
/
dist-types
/
transform
/
exact.d.ts
7 lines
(6 loc)
•
152 B
TypeScript
View Raw
1
2
3
4
5
6
7
/** * Checks that A and B extend each other. * *
@internal
*/
export
type
Exact
<A, B> = [A]
extends
[B] ? ([B]
extends
[A] ?
true
:
false
) :
false
;