Skip to content

Commit 132ecdf

Browse files
committed
client: Fix ramda types
1 parent 034c336 commit 132ecdf

File tree

4 files changed

+32
-3
lines changed

4 files changed

+32
-3
lines changed

client/js/helpers/ajax.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import formurlencoded from 'form-urlencoded';
2-
import mergeDeepLeft from 'ramda/src/mergeDeepLeft.js';
3-
import pipe from 'ramda/src/pipe.js';
2+
import mergeDeepLeft from 'ramda/src/mergeDeepLeft';
3+
import pipe from 'ramda/src/pipe';
44
import { HttpError, TimeoutError } from '../errors';
55

66
type Headers = {

client/js/sharers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useMemo } from 'react';
22
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
3-
import map from 'ramda/src/map.js';
3+
import map from 'ramda/src/map';
44
import selfoss from './selfoss-base';
55
import * as icons from './icons';
66
import { Configuration } from './model/Configuration';

client/package-lock.json

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"@types/history": "^4.7.11",
3838
"@types/html-escaper": "^3.0.2",
3939
"@types/lodash-es": "^4.17.12",
40+
"@types/ramda": "^0.30.2",
4041
"@types/react": "^18.2.17",
4142
"@types/react-router-dom": "^5.3.3",
4243
"autoprefixer": "^10.4.0",

0 commit comments

Comments
 (0)