diff options
Diffstat (limited to 'source/github-helpers/api.ts')
-rw-r--r-- | source/github-helpers/api.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/github-helpers/api.ts b/source/github-helpers/api.ts index dc22f1ec..d0fd1043 100644 --- a/source/github-helpers/api.ts +++ b/source/github-helpers/api.ts @@ -5,7 +5,7 @@ next to the name of the feature that caused them. Usage: -import * as api from '../github-helpers/api'; +import * as api from '../github-helpers/api.js'; const user = await api.v3(`/users/${username}`); const repositoryCommits = await api.v3('commits'); // Without a leading `/`, this is equivalent to `/repo/$current-repository/commits` const data = await api.v4('{user(login: "user") {name}}'); @@ -29,9 +29,9 @@ import mem from 'mem'; import * as pageDetect from 'github-url-detection'; import {JsonObject, AsyncReturnType} from 'type-fest'; -import features from '../feature-manager'; -import {getRepo} from '.'; -import optionsStorage from '../options-storage'; +import features from '../feature-manager.js'; +import {getRepo} from './index.js'; +import optionsStorage from '../options-storage.js'; type JsonError = { message: string; |