oak:path 声明

This commit is contained in:
Wang Kejun 2022-08-20 13:57:55 +08:00
parent eae48b17e3
commit 9740477bc3
2 changed files with 10 additions and 0 deletions

View File

@ -6,7 +6,9 @@ import Loading from './components/Loading';
const Console = React.lazy(() => import('./components/console'));
const Frontend = React.lazy(() => import('./components/frontend'));
const NotFound = React.lazy(() => import('./components/notFound'));
//@ts-ignore
const Message = React.lazy(() => import('@oak-general-business/components/message'));
//@ts-ignore
const DebugPanel = React.lazy(() => import('@oak-general-business/components/func/debugPanel'));
type Router = {

View File

@ -6,3 +6,11 @@ declare module '*.module.less' {
};
export default classes;
}
declare namespace JSX {
interface IntrinsicAttributes {
['oak:path']?: string;
['oak:value']?: string;
['oak:attr']?: string;
}
}