UNPKG

graphql-composer

Version:
11 lines (10 loc) 407 B
import { StringKeyOf } from ".."; export declare class Selection<Type = any> { private _properties; private _selections; get properties(): StringKeyOf<Type>[]; get selections(): Selection<any>; protected constructor(...properties: StringKeyOf<Type>[]); static create<Type = any>(...properties: StringKeyOf<Type>[]): Selection<Type>; setSelections(selections: Selection): this; }