Skip to content

Commit 048af68

Browse files
committed
feat: add Sqlize transform helper
1 parent ed9723a commit 048af68

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
class TransformHelper<T = any> {
2+
private value: T | undefined
3+
4+
constructor(initialValue: any) {
5+
this.setValue(initialValue)
6+
}
7+
8+
setValue(value: any) {
9+
this.value = value
10+
}
11+
12+
getValue() {
13+
return this.value
14+
}
15+
}
16+
17+
export default TransformHelper

0 commit comments

Comments
 (0)