persona-community-5/.pnpm-store/v3/files/49/2289e0e39710ca6047d345f81a423a9f79c155794f856f322b3df804d2caeee5faccb15d37cc97ef0c3c57d120bad269d37184d79b96e3a079c26c59aaefed
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

14 lines
522 B
Plaintext

/**
* A set of common reasons for calling nullThrows
*/
declare const NullThrowsReasons: {
readonly MissingParent: "Expected node to have a parent.";
readonly MissingToken: (token: string, thing: string) => string;
};
/**
* Assert that a value must not be null or undefined.
* This is a nice explicit alternative to the non-null assertion operator.
*/
declare function nullThrows<T>(value: T, message: string): NonNullable<T>;
export { nullThrows, NullThrowsReasons };
//# sourceMappingURL=nullThrows.d.ts.map