UNPKG
core-types-graphql
Version:
latest (3.0.0)
3.0.0
2.0.0
1.5.0
1.4.0
1.3.1
1.3.0
1.2.0
1.1.0
1.0.0
core-types ⬌ GraphQL conversion
github.com/grantila/core-types-graphql
grantila/core-types-graphql
core-types-graphql
/
dist
/
lib
/
utils.d.ts
7 lines
(6 loc)
•
259 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
type
{
LocationWithLineColumn
}
from
'core-types'
;
export
interface
GqlLocation
{
line
:
number
;
column
:
number
; }
export
declare
function
gqlLocationsToCoreTypesLocation
(
source
:
string
,
loc
:
ReadonlyArray
<
GqlLocation
>
):
LocationWithLineColumn
;