Skip to content

Commit

Permalink
Update src/common.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
jasnell and addaleax committed May 15, 2020
1 parent aa376e4 commit 48ac70b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function isMovable (value : any) : boolean {
return isTransferable(value) && value[kMovable] === true;
}

export function markMovable (value: any) : void {
export function markMovable (value : object) : void {
Object.defineProperty(value, kMovable, {
enumerable: false,
value: true
Expand Down

0 comments on commit 48ac70b

Please sign in to comment.