mirror of
https://github.com/apache/superset.git
synced 2026-04-25 02:55:07 +00:00
chore(frontend): comprehensive TypeScript quality improvements (#37625)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -72,10 +72,10 @@ describe('layerUtil', () => {
|
||||
const wfsLayer = await createWfsLayer(wfsLayerConf);
|
||||
|
||||
const style = wfsLayer!.getStyle();
|
||||
// @ts-ignore
|
||||
// @ts-expect-error
|
||||
expect(style!.length).toEqual(3);
|
||||
|
||||
// @ts-ignore upgrade `ol` package for better type of StyleLike type.
|
||||
// @ts-expect-error upgrade `ol` package for better type of StyleLike type.
|
||||
const colorAtLayer = style![1].getImage().getFill().getColor();
|
||||
expect(colorToExpect).toEqual(colorAtLayer);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user