1
0
mirror of synced 2026-03-24 20:18:35 +08:00

style(data-source): 去掉any

This commit is contained in:
roymondchen
2023-08-25 17:44:57 +08:00
parent 7f48b4d9f5
commit 131ec6fff3
5 changed files with 11 additions and 4 deletions

View File

@@ -17,6 +17,7 @@
*/
import { cloneDeep } from 'lodash-es';
import type Core from '@tmagic/core';
import { getDepNodeIds, getNodes, replaceChildNode } from '@tmagic/utils';
import DataSourceManager from './DataSourceManager';
@@ -27,7 +28,7 @@ import DataSourceManager from './DataSourceManager';
* @param httpDataSourceOptions http 数据源配置
* @returns DataSourceManager
*/
export const createDataSourceManager = (app: any) => {
export const createDataSourceManager = (app: Core) => {
const { dsl, platform } = app;
if (!dsl?.dataSources) return;