use py_rs::PY;
#[derive(PY)]
#[py(export, export_to = "unit/")]
struct Unit;
#[derive(PY)]
#[py(export, export_to = "unit/")]
struct Unit2 {}
#[derive(PY)]
#[py(export, export_to = "unit/")]
struct Unit3();
#[derive(PY)]
#[py(export, export_to = "unit/")]
struct Unit4(());
#[test]
fn test() {
assert_eq!("type Unit = null;", Unit::decl());
assert_eq!("type Unit2 = Record<string, never>;", Unit2::decl());
assert_eq!("type Unit3 = never[];", Unit3::decl());
assert_eq!("type Unit4 = null;", Unit4::decl());
}