mirror of
https://github.com/type-challenges/type-challenges.git
synced 2025-12-08 19:06:13 +00:00
12 lines
206 B
TypeScript
12 lines
206 B
TypeScript
import { Equal, Expect } from '@type-challenges/utils'
|
|
|
|
type cases = [
|
|
Expect<Equal<MyReadonly<Todo1>, Readonly<Todo1>>>,
|
|
]
|
|
|
|
interface Todo1 {
|
|
title: string
|
|
description: string
|
|
completed: boolean
|
|
}
|