Skip to content

Commit

Permalink
test: add test note for AnyRecord
Browse files Browse the repository at this point in the history
  • Loading branch information
unional committed Sep 7, 2023
1 parent e5e99f0 commit ae6ab5f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion type-plus/ts/object/any_record.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { it } from '@jest/globals'
import { testType, type AnyRecord, type KeyTypes } from '../index.js'

it('use as type criteria', () => {

type X<T extends AnyRecord> = keyof T

testType.equal<X<{ a: 1 }>, 'a'>(true)
Expand Down

0 comments on commit ae6ab5f

Please sign in to comment.