diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 516d9f493a..3ae48287eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,6 +54,9 @@ jobs: - name: Lint run: npx eslint $(cat ~/tmp/changed_files) + - name: Build generated types + run: npm run build:lib + - name: Check types run: npm run checktype diff --git a/src/core/echarts.ts b/src/core/echarts.ts index a432ad137a..8214c11e0e 100644 --- a/src/core/echarts.ts +++ b/src/core/echarts.ts @@ -312,6 +312,7 @@ export interface SetOptionOpts { export interface ResizeOpts { width?: number | 'auto', // Can be 'auto' (the same as null/undefined) height?: number | 'auto', // Can be 'auto' (the same as null/undefined) + devicePixelRatio?: number, animation?: AnimationOption silent?: boolean // by default false. };