Skip to content

Commit 4c758f1

Browse files
authored
Merge pull request #231 from SgLy/fix-adapter-component-builder-export-super-impl
fix(miniprogram-adapter): use impl of `export` from base builder to avoid writing same impl twice
2 parents 483e324 + 8fa4963 commit 4c758f1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

glass-easel-miniprogram-adapter/src/builder/component_builder.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,7 @@ export class ComponentBuilder<
147147
>,
148148
TChainingFilter
149149
> {
150-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
151-
this._$export = f as any
152-
return this as any
150+
return super.export(f) as any
153151
}
154152

155153
/**

0 commit comments

Comments
 (0)