UNPKG
megaera
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
0.0.3
0.0.2
0.0.1
0.0.0
GraphQL to TypeScript Generator
github.com/webpod/graphql-megaera
webpod/graphql-megaera
megaera
/
dist
/
generate.d.ts
5 lines
(4 loc)
•
238 B
TypeScript
View Raw
1
2
3
4
5
import
{
GraphQLType
}
from
'graphql/type/definition.js'
;
import
{
Content
}
from
'./visitor.js'
;
export
declare
function
generate
(
content
:
Content
):
string
;
export
declare
function
generateType
(
t
?:
GraphQLType
,
orNull
?:
string
):
string
;