Skip to content

Commit 89d7c0a

Browse files
devjiwonchoieps1lon
andcommitted
add deprecated note to setConfig & getConfig
Co-authored-by: Sebastian "Sebbie" Silbermann <[email protected]>
1 parent 83bac4b commit 89d7c0a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
let runtimeConfig: any
22

3+
/**
4+
* @deprecated Runtime config is deprecated and will be removed in Next.js 16.
5+
*/
36
export default () => {
47
return runtimeConfig
58
}
69

10+
/**
11+
* @deprecated Runtime config is deprecated and will be removed in Next.js 16.
12+
*/
713
export function setConfig(configValue: any): void {
814
runtimeConfig = configValue
915
}

0 commit comments

Comments
 (0)