diff options
Diffstat (limited to 'src/graphql/hello/resolvers.ts')
| -rw-r--r-- | src/graphql/hello/resolvers.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/graphql/hello/resolvers.ts b/src/graphql/hello/resolvers.ts new file mode 100644 index 00000000..f882765f --- /dev/null +++ b/src/graphql/hello/resolvers.ts @@ -0,0 +1,10 @@ +import type { WithIndex } from '../$types'; +import type { Resolvers } from './$types'; + +export const resolvers: WithIndex<Resolvers> = { + Query: { + hello() { + return 'Hello SvelteKit!'; + } + } +}; |