Skip to content

Commit 528a706

Browse files
ZTongciCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 56df131 commit 528a706

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/engines/Cesium/core/Imagery.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,12 @@ export default function ImageryLayers({
140140
}
141141

142142
type Providers = {
143-
[id: string]: [string | undefined, string | undefined, number | undefined, ImageryProvider];
143+
[id: string]: [
144+
string | undefined,
145+
string | undefined,
146+
number | undefined,
147+
Promise<ImageryProvider> | ImageryProvider,
148+
];
144149
};
145150

146151
export function useImageryProviders({

0 commit comments

Comments
 (0)