Skip to content

Commit 671094d

Browse files
test: add the example.
1 parent fd579c7 commit 671094d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/test/value.spec.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { Value } from "../lib";
2+
3+
export class TestValue<Type> extends Value<Type> {
4+
public override get [Symbol.toStringTag]() {
5+
return 'TestValue';
6+
}
7+
}
8+
9+
const value = new TestValue('test');
10+
11+
console.log(`tag, `, value.tag);

0 commit comments

Comments
 (0)