We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f3ab67 commit a8dcc83Copy full SHA for a8dcc83
src/Base.ts
@@ -239,7 +239,7 @@ export default abstract class Base<A> {
239
* Sets the value of an attribute while registering it and casting the
240
* value.
241
*/
242
- set<K extends keyof A>(key: K, value: any): void {
+ set<K extends keyof A>(key: K, value: unknown): void {
243
if (!(key in this.attributes)) {
244
this.registerAttribute(key);
245
}
0 commit comments