I test a web application with typescript and playwright. So I read and write data to and from a SQL Server 2019 database. Therefore I use tedious. Since yesterday I used the version 11.0.8 and all worked fine. Today I have made an update to the newest version 18.6.1
In the test class I do an import for ColumnValue
:
import { ColumnValue } from "tedious"
VS Code shows no the error message - module tedious has no exported member ColumnValue
.
In node_modules@types/tedious/index.d.ts is the interface ColumnValue
(line 422-425) exported.
Does anyone have a solution for this?
Many thanks in advance!
Uninstall @types/tedious
as the tedious
package already has TypeScript types included.
npm uninstall @types/tedious
It looks like ColumnValue
no longer exists, in tedious
.