Skip to content

Commit

Permalink
fix ts path resolution, for #2260 (#2261)
Browse files Browse the repository at this point in the history
  • Loading branch information
acao committed Mar 30, 2022
1 parent 3232dc9 commit 261f204
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/witty-owls-sit.md
@@ -0,0 +1,5 @@
---
'codemirror-graphql': patch
---

Fix typescript path resolution bug in codemirror-graphql
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/utils/hintList.ts
Expand Up @@ -8,7 +8,7 @@
*/

import type CodeMirror from 'codemirror';
import { IHint, IHints } from 'src/hint';
import { IHint, IHints } from '../hint';

// Create the expected hint response given a possible list and a token
export default function hintList(
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/utils/info-addon.ts
Expand Up @@ -8,7 +8,7 @@
*/

import CodeMirror from 'codemirror';
import { GraphQLInfoOptions } from 'src/info';
import { GraphQLInfoOptions } from '../info';

CodeMirror.defineOption(
'info',
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/utils/jump-addon.ts
Expand Up @@ -8,7 +8,7 @@
*/

import CodeMirror from 'codemirror';
import { GraphQLJumpOptions } from 'src/jump';
import { GraphQLJumpOptions } from '../jump';

CodeMirror.defineOption(
'jump',
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-graphql/src/variables/hint.ts
Expand Up @@ -19,7 +19,7 @@ import {
GraphQLInputFieldMap,
} from 'graphql';
import type { State, Maybe } from 'graphql-language-service';
import { IHints } from 'src/hint';
import { IHints } from '../hint';

import forEachState from '../utils/forEachState';
import hintList from '../utils/hintList';
Expand Down

0 comments on commit 261f204

Please sign in to comment.