Skip to content

Commit 46ab949

Browse files
committed
fix(metagen/client_ts): selectAll
1 parent 076ace2 commit 46ab949

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/metagen/src/client_ts/selections.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ pub struct Object {
2424

2525
impl Object {
2626
fn render(&self, dest: &mut impl Write, page: &ManifestPage<TsSelection>) -> std::fmt::Result {
27-
writeln!(dest, "export type {} = {{", self.name)?;
27+
writeln!(
28+
dest,
29+
"export type {} = {{
30+
_?: SelectionFlags;",
31+
self.name,
32+
)?;
2833
for (name, select_ty) in &self.props {
2934
use SelectionTy::*;
3035
match select_ty {

0 commit comments

Comments
 (0)