UNPKG
lean4-code-actions
Version:
latest (1.1.32)
1.1.32
Refactorings and snippets for Lean 4
lean4-code-actions
/
libs
/
generic
/
models
/
Name.ts
10 lines
(6 loc)
•
162 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{ z }
from
'zod'
export
const
NameSchema
= z.
string
().
min
(
1
)
export
type
Name
= z.
infer
<
typeof
NameSchema
>
export
interface
WithName
{
name
:
string
}