Skip to content

Commit eb1f7ef

Browse files
committed
Replace symbol with inspect method
1 parent 203b108 commit eb1f7ef

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
const customInspect = Symbol.for("nodejs.util.inspect.custom");
2-
31
export type Value =
42
| string
53
| number
@@ -83,7 +81,7 @@ export class Sql {
8381
return this.strings.join("?");
8482
}
8583

86-
[customInspect]() {
84+
inspect() {
8785
return {
8886
text: this.text,
8987
sql: this.sql,

0 commit comments

Comments
 (0)