Skip to content

Commit e0403e8

Browse files
committed
fix(interfaces): [Context] kind
Signed-off-by: Lexus Drumgold <[email protected]>
1 parent 998549f commit e0403e8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/interfaces/__tests__/context.spec-d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ describe('unit-d:interfaces/Context', () => {
1313
expectTypeOf<TestSubject>().toHaveProperty('identifier').toBeString()
1414
})
1515

16-
it('should match [kind: LiteralUnion<Kind, "string">]', () => {
16+
it('should match [kind: LiteralUnion<Kind, string>]', () => {
1717
expectTypeOf<TestSubject>()
1818
.toHaveProperty('kind')
19-
.toEqualTypeOf<LiteralUnion<Kind, 'string'>>()
19+
.toEqualTypeOf<LiteralUnion<Kind, string>>()
2020
})
2121

2222
it('should match [parent: Nullable<string>]', () => {

src/interfaces/context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ interface Context {
2121
/**
2222
* Segment syntax kind.
2323
*/
24-
kind: LiteralUnion<Kind, 'string'>
24+
kind: LiteralUnion<Kind, string>
2525

2626
/**
2727
* Segment parent.

0 commit comments

Comments
 (0)