MCPcopy Create free account
hub / github.com/Wulf/tsync / from

Method from

src/typescript.rs:8–13  ·  view source on GitHub ↗
(ts_type: String)

Source from the content-addressed store, hash-verified

6
7impl From<String> for TsType {
8 fn from(ts_type: String) -> Self {
9 Self {
10 ts_type,
11 is_optional: false,
12 }
13 }
14}
15
16fn convert_generic(gen_ty: &syn::GenericArgument) -> TsType {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected