diff options
author | 2021-08-21 08:07:32 +0530 | |
---|---|---|
committer | 2021-08-21 08:55:38 +0530 | |
commit | b1cf1849f5bfa8f297f78a5ca58d797f466b3086 (patch) | |
tree | 658f3adeb740cf54021dfb6ad951649f0d539e6d /src/prop-types.js | |
parent | refactor(cleanup): remove code that refers to paid subscription (diff) | |
download | ferdium-app-b1cf1849f5bfa8f297f78a5ca58d797f466b3086.tar.gz ferdium-app-b1cf1849f5bfa8f297f78a5ca58d797f466b3086.tar.zst ferdium-app-b1cf1849f5bfa8f297f78a5ca58d797f466b3086.zip |
chore: typescript conversion
Diffstat (limited to 'src/prop-types.js')
-rw-r--r-- | src/prop-types.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/prop-types.js b/src/prop-types.js deleted file mode 100644 index 459b9a7b9..000000000 --- a/src/prop-types.js +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | import PropTypes from 'prop-types'; | ||
2 | |||
3 | // eslint-disable-next-line | ||
4 | export const oneOrManyChildElements = PropTypes.oneOfType([ | ||
5 | PropTypes.arrayOf(PropTypes.element), | ||
6 | PropTypes.element, | ||
7 | PropTypes.array, | ||
8 | ]); | ||
9 | |||
10 | export const globalError = PropTypes.shape({ | ||
11 | status: PropTypes.number, | ||
12 | message: PropTypes.string, | ||
13 | code: PropTypes.string, | ||
14 | }); | ||