File tree Expand file tree Collapse file tree 4 files changed +13
-4
lines changed
Expand file tree Collapse file tree 4 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 1+ // this is just to make it work with older typescript versions in our tests
2+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
3+ // @ts -ignore
4+ import { antdSpout } from '@anansi/core/antd' ;
15import {
26 laySpouts ,
37 documentSpout ,
@@ -6,7 +10,6 @@ import {
610 routerSpout ,
711 JSONSpout ,
812 appSpout ,
9- antdSpout ,
1013 navigatorSpout ,
1114} from '@anansi/core/server' ;
1215import { useController } from '@data-client/react' ;
@@ -24,6 +27,9 @@ const csPolicy = {
2427} ;
2528
2629const spouts = prefetchSpout ( 'controller' ) (
30+ // this is just to make it work with older typescript versions in our tests
31+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
32+ // @ts -ignore
2733 documentSpout ( { title : 'Github App' , lang : 'en' , csPolicy } ) (
2834 antdSpout ( ) (
2935 JSONSpout ( ) (
Original file line number Diff line number Diff line change @@ -5,9 +5,12 @@ import {
55 routerSpout ,
66 JSONSpout ,
77 appSpout ,
8- antdSpout ,
98 navigatorSpout ,
109} from '@anansi/core' ;
10+ // this is just to make it work with older typescript versions in our tests
11+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
12+ // @ts -ignore
13+ import { antdSpout } from '@anansi/core/antd' ;
1114import { useController } from '@data-client/react' ;
1215
1316import app from '@/app' ;
Original file line number Diff line number Diff line change 88 "jsx" : " preserve" , // this is just to make it work with older typescript versions in our tests
99 "declaration" : true ,
1010 "strict" : true ,
11- "moduleResolution" : " node" ,
11+ "moduleResolution" : " node" , // this is just to make it work with older typescript versions in our tests
1212 "skipLibCheck" : true ,
1313 "allowSyntheticDefaultImports" : true ,
1414 "esModuleInterop" : true ,
Original file line number Diff line number Diff line change 99 "declaration" : true ,
1010 "strict" : true ,
1111 "noImplicitAny" : false ,
12- "moduleResolution" : " node" ,
12+ "moduleResolution" : " node" , // this is just to make it work with older typescript versions in our tests
1313 "skipLibCheck" : true ,
1414 "allowSyntheticDefaultImports" : true ,
1515 "esModuleInterop" : true ,
You can’t perform that action at this time.
0 commit comments