Relax import { QueryLang } from "./ql" ; export class PartialQueryLang { constructor ( name , lang ) { this . _name = name ; this . _lang = lang ; } private _name : string ; private _lang : ( ... args : any [ ] ) => QueryLang ; name ( ) { return this . _name ; } param bigQuery partialQL ( bigQuery ) { return ( ... args ) => { return bigQuery ( this . _lang ( ... args ) ) ; } ; } } export const PQL = ( name , lang ) => { return new PartialQueryLang ( name , lang ) ; } ;