Skip to content

Commit 0777cde

Browse files
committed
Fix build artifact
1 parent a939ba1 commit 0777cde

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/yoga/schema.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { me as queryMeResolver } from "./Query";
77
import { person as queryPersonResolver } from "./Query";
88
import { countdown as subscriptionCountdownResolver } from "./Subscription";
99
import { GraphQLSchema, GraphQLObjectType, GraphQLNonNull, GraphQLList, GraphQLString, GraphQLInterfaceType, GraphQLInt } from "graphql";
10-
function getSchema(): GraphQLSchema {
10+
export function getSchema(): GraphQLSchema {
1111
const GroupType: GraphQLObjectType = new GraphQLObjectType({
1212
name: "Group",
1313
fields() {
@@ -113,4 +113,3 @@ function getSchema(): GraphQLSchema {
113113
types: [GroupType, IPersonType, QueryType, SubscriptionType, UserType]
114114
});
115115
}
116-
export { getSchema };

0 commit comments

Comments
 (0)