oak:path 声明
This commit is contained in:
parent
eae48b17e3
commit
9740477bc3
|
|
@ -6,7 +6,9 @@ import Loading from './components/Loading';
|
||||||
const Console = React.lazy(() => import('./components/console'));
|
const Console = React.lazy(() => import('./components/console'));
|
||||||
const Frontend = React.lazy(() => import('./components/frontend'));
|
const Frontend = React.lazy(() => import('./components/frontend'));
|
||||||
const NotFound = React.lazy(() => import('./components/notFound'));
|
const NotFound = React.lazy(() => import('./components/notFound'));
|
||||||
|
//@ts-ignore
|
||||||
const Message = React.lazy(() => import('@oak-general-business/components/message'));
|
const Message = React.lazy(() => import('@oak-general-business/components/message'));
|
||||||
|
//@ts-ignore
|
||||||
const DebugPanel = React.lazy(() => import('@oak-general-business/components/func/debugPanel'));
|
const DebugPanel = React.lazy(() => import('@oak-general-business/components/func/debugPanel'));
|
||||||
|
|
||||||
type Router = {
|
type Router = {
|
||||||
|
|
|
||||||
|
|
@ -6,3 +6,11 @@ declare module '*.module.less' {
|
||||||
};
|
};
|
||||||
export default classes;
|
export default classes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
declare namespace JSX {
|
||||||
|
interface IntrinsicAttributes {
|
||||||
|
['oak:path']?: string;
|
||||||
|
['oak:value']?: string;
|
||||||
|
['oak:attr']?: string;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue