Skip to content

Commit 492692c

Browse files
committed
Typing fixup
1 parent 5280d68 commit 492692c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "0.4.0"
2+
"version": "0.4.1"
33
}

react.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@ export function featureFlagsHookFactory<Schema extends FeatureFlagSchema = any>(
8484
});
8585
}
8686

87-
return [state, setState];
87+
return [state, setState] as const;
8888
};
8989
}

0 commit comments

Comments
 (0)