1
0
Fork 0

worked on GarageApp stuff

This commit is contained in:
Techognito 2025-08-25 17:46:11 +02:00
parent 60aaf17af3
commit eb606572b0
51919 changed files with 2168177 additions and 18 deletions

2
node_modules/@mui/utils/esm/exactProp/exactProp.d.ts generated vendored Normal file
View file

@ -0,0 +1,2 @@
import { ValidationMap } from 'prop-types';
export default function exactProp<T>(propTypes: ValidationMap<T>): ValidationMap<T>;

20
node_modules/@mui/utils/esm/exactProp/exactProp.js generated vendored Normal file
View file

@ -0,0 +1,20 @@
// This module is based on https://github.com/airbnb/prop-types-exact repository.
// However, in order to reduce the number of dependencies and to remove some extra safe checks
// the module was forked.
const specialProperty = 'exact-prop: \u200b';
export default function exactProp(propTypes) {
if (process.env.NODE_ENV === 'production') {
return propTypes;
}
return {
...propTypes,
[specialProperty]: props => {
const unsupportedProps = Object.keys(props).filter(prop => !propTypes.hasOwnProperty(prop));
if (unsupportedProps.length > 0) {
return new Error(`The following props are not supported: ${unsupportedProps.map(prop => `\`${prop}\``).join(', ')}. Please remove them.`);
}
return null;
}
};
}

1
node_modules/@mui/utils/esm/exactProp/index.d.ts generated vendored Normal file
View file

@ -0,0 +1 @@
export { default } from "./exactProp.js";

1
node_modules/@mui/utils/esm/exactProp/index.js generated vendored Normal file
View file

@ -0,0 +1 @@
export { default } from "./exactProp.js";