Just because you are using a type system doesn’t mean you can avoid writing a test.
The test may be easy to write but it adds value.
This is especially true if you are working in a type erasure system such as Typescript. Types in typescript do not exist at runtime.