Skip to content

Commit

Permalink
fix(interfaces): [Context] kind
Browse files Browse the repository at this point in the history
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
  • Loading branch information
unicornware committed Mar 3, 2023
1 parent 998549f commit e0403e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/interfaces/__tests__/context.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ describe('unit-d:interfaces/Context', () => {
expectTypeOf<TestSubject>().toHaveProperty('identifier').toBeString()
})

it('should match [kind: LiteralUnion<Kind, "string">]', () => {
it('should match [kind: LiteralUnion<Kind, string>]', () => {
expectTypeOf<TestSubject>()
.toHaveProperty('kind')
.toEqualTypeOf<LiteralUnion<Kind, 'string'>>()
.toEqualTypeOf<LiteralUnion<Kind, string>>()
})

it('should match [parent: Nullable<string>]', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ interface Context {
/**
* Segment syntax kind.
*/
kind: LiteralUnion<Kind, 'string'>
kind: LiteralUnion<Kind, string>

/**
* Segment parent.
Expand Down

0 comments on commit e0403e8

Please sign in to comment.