Skip to content

Commit 04eeb6a

Browse files
committed
ci: add tests for Types constants
1 parent 04601dd commit 04eeb6a

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { mysql } from '../../index.js';
2+
3+
const BLOB: number = mysql.Types.BLOB;
4+
const DECIMAL: string = mysql.Types[0x00];
5+
const DOUBLE: string = mysql.Types[5];
6+
7+
console.log(BLOB, DECIMAL, DOUBLE);
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { mysqlp as mysql } from '../../index.js';
2+
3+
const BLOB: number = mysql.Types.BLOB;
4+
const DECIMAL: string = mysql.Types[0x00];
5+
const DOUBLE: string = mysql.Types[5];
6+
7+
console.log(BLOB, DECIMAL, DOUBLE);

0 commit comments

Comments
 (0)