UNPKG
yaclt
Version:
latest (2.5.3)
2.5.3
2.5.2
2.5.1
2.5.0
2.4.1
2.4.0
2.3.0
2.2.0
2.1.0
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.1.2
1.1.1
1.1.0
1.0.0
0.8.1
0.8.0
0.7.0
0.6.3
0.6.2
0.6.1
0.6.0
0.5.3
0.5.2
0.5.1
0.5.0
0.4.2
0.4.1
0.4.0
0.3.0
0.2.1
0.2.0
0.1.1
0.1.0
0.0.3
0.0.2
0.0.1
Yet Another Change Log Tool
github.com/mrjones2014/yaclt
mrjones2014/yaclt
yaclt
/
src
/
utils
/
__tests__
/
nameof.test.ts
10 lines
(7 loc)
•
237 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{ nameof }
from
"../nameof"
;
describe
(
"nameof"
,
() =>
{
it
(
"should accept key of particular type and return the same key"
,
() =>
{
type
Point
= {
x
:
number
;
y
:
number
};
expect
(nameof<
Point
>(
"x"
)).
toBe
(
"x"
); }); });