Files
Schnappix/node_modules/@expo/metro/metro-resolver/errors/InvalidPackageConfigurationError.d.ts
T

23 lines
561 B
TypeScript

/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
* @format
* @oncall react_native
*/
/**
* Raised when a package contains an invalid `package.json` configuration.
*/
declare class InvalidPackageConfigurationError extends Error {
reason: string;
packagePath: string;
constructor(opts: {
readonly reason: string;
readonly packagePath: string;
});
}
export default InvalidPackageConfigurationError;