Skip to content

Commit

Permalink
build(deps-dev): add @flex-development/tutils
Browse files Browse the repository at this point in the history
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
  • Loading branch information
unicornware committed May 9, 2024
1 parent 5a1a7a8 commit 83e1622
Show file tree
Hide file tree
Showing 287 changed files with 365 additions and 471 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
},
"dependencies": {
"@flex-development/docast": "1.0.0-alpha.17",
"@flex-development/tutils": "6.0.0-alpha.25",
"@flex-development/unist-util-types": "1.3.1",
"@types/mdast": "4.0.3",
"@types/unist": "3.0.2"
Expand All @@ -85,6 +84,7 @@
"@flex-development/mkbuild": "1.0.0-alpha.23",
"@flex-development/mlly": "1.0.0-alpha.18",
"@flex-development/pathe": "2.0.0",
"@flex-development/tutils": "6.0.0-alpha.25",
"@types/eslint": "8.56.5",
"@types/estree": "1.0.5",
"@types/estree-jsx": "1.0.5",
Expand Down
3 changes: 1 addition & 2 deletions src/internal/comments-internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/

import type { Comment, Comments } from '@flex-development/esast'
import type { EmptyArray } from '@flex-development/tutils'

/**
* Create a {@linkcode Comment} tuple union.
Expand Down Expand Up @@ -39,6 +38,6 @@ import type { EmptyArray } from '@flex-development/tutils'
*
* @see https://github.com/microsoft/TypeScript/issues/57182
*/
type InternalComments = EmptyArray | [Comment]
type InternalComments = [] | [Comment]

export type { InternalComments as default }
2 changes: 1 addition & 1 deletion src/nodes/__tests__/argument-list.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/ArgumentList', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<ArgumentListData>]', () => {
it('should match [data?: ArgumentListData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/as-clause.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/AsClause', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<AsClauseData>]', () => {
it('should match [data?: AsClauseData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/assertion-predicate.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/AssertionPredicate', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<AssertionPredicateData>]', () => {
it('should match [data?: AssertionPredicateData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/catch-clause.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/CatchClause', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<CatchClauseData>]', () => {
it('should match [data?: CatchClauseData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/class-body.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/ClassBody', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<ClassBodyData>]', () => {
it('should match [data?: ClassBodyData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
6 changes: 3 additions & 3 deletions src/nodes/__tests__/comment-block.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/BlockComment', () => {
expectTypeOf<Subject>().toMatchTypeOf<Comment>()
})

it('should match [data?: Optional<BlockCommentData>]', () => {
it('should match [data?: BlockCommentData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand All @@ -30,13 +30,13 @@ describe('unit-d:nodes/BlockComment', () => {
expectTypeOf<SubjectData>().toMatchTypeOf<CommentData>()
})

it('should match [leading?: Nilable<boolean>]', () => {
it('should match [leading?: boolean | null | undefined]', () => {
expectTypeOf<SubjectData>()
.toHaveProperty('leading')
.toEqualTypeOf<Nilable<boolean>>()
})

it('should match [trailing?: Nilable<boolean>]', () => {
it('should match [trailing?: boolean | null | undefined]', () => {
expectTypeOf<SubjectData>()
.toHaveProperty('trailing')
.toEqualTypeOf<Nilable<boolean>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/comment-docblock.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('unit-d:nodes/DocblockComment', () => {
expectTypeOf<Subject>().toMatchTypeOf<Omit<docast.Comment, 'position'>>()
})

it('should match [data?: Optional<DocblockCommentData>]', () => {
it('should match [data?: DocblockCommentData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/comment-hashbang.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/HashbangComment', () => {
expectTypeOf<Subject>().toMatchTypeOf<Comment>()
})

it('should match [data?: Optional<HashbangCommentData>]', () => {
it('should match [data?: HashbangCommentData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
4 changes: 2 additions & 2 deletions src/nodes/__tests__/comment-line.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/LineComment', () => {
expectTypeOf<Subject>().toMatchTypeOf<Comment>()
})

it('should match [data?: Optional<LineCommentData>]', () => {
it('should match [data?: LineCommentData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand All @@ -30,7 +30,7 @@ describe('unit-d:nodes/LineComment', () => {
expectTypeOf<SubjectData>().toMatchTypeOf<CommentData>()
})

it('should match [trailing?: Nilable<boolean>]', () => {
it('should match [trailing?: boolean | null | undefined]', () => {
expectTypeOf<SubjectData>()
.toHaveProperty('trailing')
.toEqualTypeOf<Nilable<boolean>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/comment.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/Comment', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<CommentData>]', () => {
it('should match [data?: CommentData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/declaration-ambient.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/AmbientDeclaration', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<AmbientDeclarationData>]', () => {
it('should match [data?: AmbientDeclarationData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/declaration-class.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/ClassDeclaration', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<ClassDeclarationData>]', () => {
it('should match [data?: ClassDeclarationData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/declaration-enum.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('unit-d:nodes/EnumDeclaration', () => {
expectTypeOf<Subject>().toHaveProperty('const').toEqualTypeOf<boolean>()
})

it('should match [data?: Optional<EnumDeclarationData>]', () => {
it('should match [data?: EnumDeclarationData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
4 changes: 2 additions & 2 deletions src/nodes/__tests__/declaration-export.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/ExportDeclaration', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<ExportDeclarationData>]', () => {
it('should match [data?: ExportDeclarationData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand All @@ -36,7 +36,7 @@ describe('unit-d:nodes/ExportDeclaration', () => {
expectTypeOf<SubjectData>().toMatchTypeOf<Data>()
})

it('should match [typeOnly?: Nilable<boolean>]', () => {
it('should match [typeOnly?: boolean | null | undefined]', () => {
expectTypeOf<SubjectData>()
.toHaveProperty('typeOnly')
.toEqualTypeOf<Nilable<boolean>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/declaration-function.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('unit-d:nodes/FunctionDeclaration', () => {
expectTypeOf<Subject>().toHaveProperty('async').toEqualTypeOf<boolean>()
})

it('should match [data?: Optional<FunctionDeclarationData>]', () => {
it('should match [data?: FunctionDeclarationData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
4 changes: 2 additions & 2 deletions src/nodes/__tests__/declaration-import.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/ImportDeclaration', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<ImportDeclarationData>]', () => {
it('should match [data?: ImportDeclarationData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand All @@ -36,7 +36,7 @@ describe('unit-d:nodes/ImportDeclaration', () => {
expectTypeOf<SubjectData>().toMatchTypeOf<Data>()
})

it('should match [typeOnly?: Nilable<boolean>]', () => {
it('should match [typeOnly?: boolean | null | undefined]', () => {
expectTypeOf<SubjectData>()
.toHaveProperty('typeOnly')
.toEqualTypeOf<Nilable<boolean>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/declaration-interface.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/InterfaceDeclaration', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<InterfaceDeclarationData>]', () => {
it('should match [data?: InterfaceDeclarationData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/declaration-module.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/ModuleDeclaration', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<ModuleDeclarationData>]', () => {
it('should match [data?: ModuleDeclarationData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/declaration-namespace.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/NamespaceDeclaration', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<NamespaceDeclarationData>]', () => {
it('should match [data?: NamespaceDeclarationData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/declaration-type-alias.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/TypeAliasDeclaration', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<TypeAliasDeclarationData>]', () => {
it('should match [data?: TypeAliasDeclarationData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/declaration-variable.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/VariableDeclaration', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<VariableDeclarationData>]', () => {
it('should match [data?: VariableDeclarationData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/decorator.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/Decorator', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<DecoratorData>]', () => {
it('should match [data?: DecoratorData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/definition-method.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('unit-d:nodes/MethodDefinition', () => {
expectTypeOf<Subject>().toHaveProperty('computed').toEqualTypeOf<boolean>()
})

it('should match [data?: Optional<MethodDefinitionData>]', () => {
it('should match [data?: MethodDefinitionData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/definition-property.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('unit-d:nodes/PropertyDefinition', () => {
expectTypeOf<Subject>().toHaveProperty('computed').toEqualTypeOf<boolean>()
})

it('should match [data?: Optional<PropertyDefinitionData>]', () => {
it('should match [data?: PropertyDefinitionData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/directive.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/Directive', () => {
expectTypeOf<Subject>().toMatchTypeOf<Literal>()
})

it('should match [data?: Optional<DirectiveData>]', () => {
it('should match [data?: DirectiveData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/element-rest.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/RestElement', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<RestElementData>]', () => {
it('should match [data?: RestElementData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/element-spread.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/SpreadElement', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<SpreadElementData>]', () => {
it('should match [data?: SpreadElementData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
4 changes: 2 additions & 2 deletions src/nodes/__tests__/element-template.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/TemplateElement', () => {
expectTypeOf<Subject>().toMatchTypeOf<Literal>()
})

it('should match [data?: Optional<TemplateElementData>]', () => {
it('should match [data?: TemplateElementData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand All @@ -36,7 +36,7 @@ describe('unit-d:nodes/TemplateElement', () => {
expectTypeOf<SubjectData>().toMatchTypeOf<Data>()
})

it('should match [cooked: Nilable<string>]', () => {
it('should match [cooked?: string | null | undefined]', () => {
expectTypeOf<SubjectData>()
.toHaveProperty('cooked')
.toEqualTypeOf<Nilable<string>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/enum-body.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/EnumBody', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<EnumBodyData>]', () => {
it('should match [data?: EnumBodyData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/enum-member.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/EnumMember', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<EnumMemberData>]', () => {
it('should match [data?: EnumMemberData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/expression-arithmetic.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('unit-d:nodes/ArithmeticExpression', () => {
expectTypeOf<Subject>().toMatchTypeOf<BinaryExpression>()
})

it('should match [data?: Optional<ArithmeticExpressionData>]', () => {
it('should match [data?: ArithmeticExpressionData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/expression-array.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/ArrayExpression', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<ArrayExpressionData>]', () => {
it('should match [data?: ArrayExpressionData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/expression-as.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/AsExpression', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<AsExpressionData>]', () => {
it('should match [data?: AsExpressionData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/expression-assignment.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/AssignmentExpression', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<AssignmentExpressionData>]', () => {
it('should match [data?: AssignmentExpressionData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/__tests__/expression-await.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('unit-d:nodes/AwaitExpression', () => {
expectTypeOf<Subject>().toMatchTypeOf<Parent>()
})

it('should match [data?: Optional<AwaitExpressionData>]', () => {
it('should match [data?: AwaitExpressionData | undefined]', () => {
expectTypeOf<Subject>()
.toHaveProperty('data')
.toEqualTypeOf<Optional<SubjectData>>()
Expand Down
Loading

0 comments on commit 83e1622

Please sign in to comment.