Commit 289e2b6
docs: change import to use type import for GlobalConfig (#11578)
### What?
Updated the import statement for `buildConfig` from `import {
buildConfig } from 'payload'` to `import type { buildConfig } from
'payload'` to properly handle TypeScript types.
### Why?
This change ensures that TypeScript properly treats `buildConfig` as a
type rather than a runtime import, following project conventions and
ensuring consistency with the rest of the documentation and code.
---------
Co-authored-by: Sasha Rakhmatulin <sasha@ritsuko.dev>1 parent e34cbc3 commit 289e2b6
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
0 commit comments