graphql-composer
Version:
Create your GraphQL API using composition!
11 lines (10 loc) • 407 B
TypeScript
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;
}