Skip to content

Commit a8dcc83

Browse files
committed
fix(Base): change set value type from any to unkown
1 parent 3f3ab67 commit a8dcc83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ export default abstract class Base<A> {
239239
* Sets the value of an attribute while registering it and casting the
240240
* value.
241241
*/
242-
set<K extends keyof A>(key: K, value: any): void {
242+
set<K extends keyof A>(key: K, value: unknown): void {
243243
if (!(key in this.attributes)) {
244244
this.registerAttribute(key);
245245
}

0 commit comments

Comments
 (0)