File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ export class DataSource extends DataSourceApi<MyQuery> {
100100 } ) ;
101101 }
102102
103- async restRequest < T > ( api_url : string , data : any ) : Promise < FetchResponse < ResponseData < T > > > {
103+ async restRequest < T > ( api_url : string , data : unknown ) : Promise < FetchResponse < ResponseData < T > > > {
104104 return this . cmkRequest < T > ( {
105105 method : 'POST' ,
106106 headers : { 'Content-Type' : 'application/x-www-form-urlencoded' } ,
Original file line number Diff line number Diff line change 11import { get } from 'lodash' ;
22import { Context , MyQuery , Presentation } from './types' ;
3- export const buildRequestBody = ( data : any ) => `request=${ JSON . stringify ( data ) } ` ;
3+ export const buildRequestBody = ( data : unknown ) => `request=${ JSON . stringify ( data ) } ` ;
44
55interface CombinedGraphSpec {
66 graph_template : string ;
You can’t perform that action at this time.
0 commit comments