Commit 554404b
authored
[dev-tool] react to typing changes in rollup v2.78 (Azure#23059)
* [dev-tool] react to typing changes in rollup v2.78
Previously the type for `load` is `any`. Now it can also be a object
```
type ObjectHook<T, O = {}> = T | ({ handler: T; order?: 'pre' | 'post' | null } & O);
```
This PR adds type narrowing to fix TypeScript build error.
* bump rollup version1 parent 5cace9f commit 554404b
File tree
3 files changed
+183
-47
lines changed- common
- config/rush
- tools/dev-tool
- src/config
3 files changed
+183
-47
lines changed
0 commit comments