1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-26 22:41:17 +02:00

Fix ts issues

This commit is contained in:
Laurent Cozic
2023-09-13 19:19:31 +01:00
parent 1fd11588db
commit 97b0f4c8de
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
import { rootDir } from './tool-utils';
const request = require('request');
interface Contributor {
@@ -6,7 +8,9 @@ interface Contributor {
html_url: string;
}
const readmePath = `${__dirname}/../../README.md`;
rootDir;
const readmePath = `${rootDir}/README.md`;
const { insertContentIntoFile } = require('./tool-utils.js');
async function gitHubContributors(page: number): Promise<Contributor[]> {