Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
9 lines
424 B
Plaintext
9 lines
424 B
Plaintext
export declare function throwError(message: string): never;
|
|
export declare function warn(message: string): void;
|
|
/**
|
|
* Returns a function that runs the provided callback only once per process.
|
|
* Next.js can call the config multiple times - this ensures we only run once.
|
|
* Uses an environment variable to track execution across config loads.
|
|
*/
|
|
export declare function once(namespace: string): (fn: () => void) => void;
|