Initial commit: Crypto trader application

This commit is contained in:
2025-12-25 20:20:40 -05:00
commit 07a04c1bb8
47895 changed files with 2042266 additions and 0 deletions

View File

@@ -0,0 +1 @@
export { default } from './unsupportedProp';

View File

@@ -0,0 +1,13 @@
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function () {
return _unsupportedProp.default;
}
});
var _unsupportedProp = _interopRequireDefault(require("./unsupportedProp"));

View File

@@ -0,0 +1,6 @@
{
"sideEffects": false,
"module": "../esm/unsupportedProp/index.js",
"main": "./index.js",
"types": "./index.d.ts"
}

View File

@@ -0,0 +1,7 @@
export default function unsupportedProp(
props: { [key: string]: any },
propName: string,
componentName: string,
location: string,
propFullName: string,
): Error | null;

View File

@@ -0,0 +1,16 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = unsupportedProp;
function unsupportedProp(props, propName, componentName, location, propFullName) {
if (process.env.NODE_ENV === 'production') {
return null;
}
const propFullNameSafe = propFullName || propName;
if (typeof props[propName] !== 'undefined') {
return new Error(`The prop \`${propFullNameSafe}\` is not supported. Please remove it.`);
}
return null;
}