From e0403e855267a7a23b7276c6b1a69674856d8573 Mon Sep 17 00:00:00 2001 From: Lexus Drumgold Date: Fri, 3 Mar 2023 18:54:45 -0500 Subject: [PATCH] fix(interfaces): [`Context`] `kind` Signed-off-by: Lexus Drumgold --- src/interfaces/__tests__/context.spec-d.ts | 4 ++-- src/interfaces/context.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/interfaces/__tests__/context.spec-d.ts b/src/interfaces/__tests__/context.spec-d.ts index b560f9ec..3d2afe2e 100644 --- a/src/interfaces/__tests__/context.spec-d.ts +++ b/src/interfaces/__tests__/context.spec-d.ts @@ -13,10 +13,10 @@ describe('unit-d:interfaces/Context', () => { expectTypeOf().toHaveProperty('identifier').toBeString() }) - it('should match [kind: LiteralUnion]', () => { + it('should match [kind: LiteralUnion]', () => { expectTypeOf() .toHaveProperty('kind') - .toEqualTypeOf>() + .toEqualTypeOf>() }) it('should match [parent: Nullable]', () => { diff --git a/src/interfaces/context.ts b/src/interfaces/context.ts index 79cfbe3a..8add116c 100644 --- a/src/interfaces/context.ts +++ b/src/interfaces/context.ts @@ -21,7 +21,7 @@ interface Context { /** * Segment syntax kind. */ - kind: LiteralUnion + kind: LiteralUnion /** * Segment parent.