Skip to content

Commit

Permalink
Add missing method to impl_shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
escritorio-gustavo committed Feb 29, 2024
1 parent 38ec2f7 commit 5ebe368
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ts-rs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,7 @@ macro_rules! impl_shadow {
(as $s:ty: $($impl:tt)*) => {
$($impl)* {
type WithoutGenerics = <$s as TS>::WithoutGenerics;
fn ident() -> String { <$s>::ident() }
fn name() -> String { <$s>::name() }
fn inline() -> String { <$s>::inline() }
fn inline_flattened() -> String { <$s>::inline_flattened() }
Expand Down

0 comments on commit 5ebe368

Please sign in to comment.