Skip to content
This repository was archived by the owner on Sep 1, 2023. It is now read-only.

Commit c389539

Browse files
committed
Relax typing of dictToShapeUNSAFE
1 parent c6b4e35 commit c389539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TypeSpec/__Private/ShapeSpec.hack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ final class ShapeSpec extends TypeSpec<shape()> {
113113
}
114114

115115
private static function dictToShapeUNSAFE(
116-
dict<string, mixed> $shape,
116+
dict<arraykey, mixed> $shape,
117117
): shape() {
118118
if (shape() is dict<_, _>) {
119119
/* HH_IGNORE_ERROR[4110] */

0 commit comments

Comments
 (0)