diff --git a/type-plus/ts/object/any_record.spec.ts b/type-plus/ts/object/any_record.spec.ts index 0f849f1ae6..3e8c2442c8 100644 --- a/type-plus/ts/object/any_record.spec.ts +++ b/type-plus/ts/object/any_record.spec.ts @@ -12,3 +12,13 @@ it('use as type criteria', () => { // @ts-expect-error testType.equal, never>(true) }) + +it('shows how AnyRecord behaves as criteria against primitive types', () => { + testType.equal(true) + testType.equal(true) + testType.equal(true) + testType.equal(true) + testType.equal(true) + testType.equal(true) + testType.equal(true) +})