feat: add ts export
This commit is contained in:
parent
b494b43496
commit
cfc1856210
3 changed files with 13 additions and 0 deletions
|
@ -12,8 +12,11 @@ use std::{
|
|||
ops::{Deref, DerefMut},
|
||||
sync::Arc,
|
||||
};
|
||||
use ts_rs::TS;
|
||||
|
||||
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)]
|
||||
#[derive(TS)]
|
||||
#[ts(export, export_to = "theme/types/")]
|
||||
pub struct FamilyId(usize);
|
||||
|
||||
struct Family {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue