In the book An introduction to manifolds by Tu, Loring W, covector is defined as follows:
If $V$ and $W$ are real vector spaces, we denote by $\operatorname{Hom}(V, W)$ the vector space of all linear maps $f: V \rightarrow W$. Define the dual space $V^{\vee}$ of $V$ to be the vector space of all real-valued linear functions on $V$ : $$ V^{\vee}=\operatorname{Hom}(V, \mathbb{R}) $$ The elements of $V^{\vee}$ are called covectors or $1$-covectors on $V$.
However, in the book Quick Introduction to Tensor Analysis by R. A. Sharipov, the covector is defined as follows:
Let's denote our hypothetical object by $\mathbf{a},$ and denote by $a_{1}, a_{2}, a_{3}$ that three numbers which represent this object in the basis $\mathbf{e}_{1}, \mathbf{e}_{2}, \mathbf{e}_{3}$. By analogy with vectors we shall call them coordinates. But in contrast to vectors, we intentionally used lower indices when denoting them by $a_{1}, a_{2}, a_{3}$. Let's prescribe the following transformation rules to $a_{1}, a_{2}, a_{3}$ when we change $\mathbf{e}_{1}, \mathbf{e}_{2}, \mathbf{e}_{3}$ to $\tilde{\mathbf{e}}_{1}, \tilde{\mathbf{e}}_{2}, \tilde{\mathbf{e}}_{3}$: $$ \tilde{a}_{j} =\sum_{i=1}^{3} S_{j}^{i} a_{i} \tag{8.1} $$ $$ a_{j} =\sum_{i=1}^{3} T_{j}^{i} \tilde{a}_{i}\tag{8.2} $$ Here $S$ and $T$ are the same transition matrices as in case of the vectors in $(6.2)$ and $(6.5)$. Note that $(8.1)$ is sufficient, formula $(8.2)$ is derived from $(8.1)$.
DEFINITION 8.1. A geometric object a in each basis represented by a triple of coordinates $a_{1}, a_{2}, a_{3}$ and such that its coordinates obey transformation rules $(8.1)$ and $(8.2)$ under a change of basis is called a covector.
My question is, are the two definitions equivalent? What's the relation between them? I cannot figure out the relation between "obeying transformation rules" and linear maps $f: V \rightarrow W$.