Repository: withastro/astro
File: packages/astro/src/types/public/config.ts (TypeScript)

Code before:
						 * A list of hashes to include in all pages. These hashes are added to the `style-src` directive.
						 *
						 */
						hashes?: CspHash[];

						/**
						 * @name experimental.csp.styleDirective.resources
						 * @type {string[]}
						 * @default `[]`
						 * @version 5.9.0
						 * @description
						 *
						 * A list of resources applied to the `style-src` directive. These resources will override Astro's defaults.
						 *
						 */
						resources?: string[];
					};

					/**
					 * @name experimental.csp.scriptDirective
					 * @type {CspHash[]}
					 * @default `undefined`
					 * @version 5.9.0
					 * @description
					 *
					 * Object that allows controlling the `script-src` directive.					 *
					 */
					scriptDirective?: {
						/**
						 * @name experimental.csp.scriptDirective.hashes
						 * @type {CspHash[]}
						 * @default `[]`
						 * @version 5.9.0
						 * @description
						 *
						 * A list of script hashes to include in all pages. These hashes are added to the `script-src` directive.
						 *
						 */
						hashes?: CspHash[];

						/**
						 * @name experimental.csp.scriptDirective.resources
						 * @type {string[]}
						 * @default `[]`
						 * @version 5.9.0
						 * @description
						 *
						 * A list of resources applied to the `script-src` directive.
						 *
						 */
						resources?: string[];

Review comment (suggestion):
```suggestion
					 * Object that allows controlling the `style-src` directive.					 *
```

Code after:
					 * @description
					 *
					 * A configuration object that allows you to override the default sources for the `style-src` directive
					 * with the `resources` property, or to provide additional `hashes` to be rendered.
					 *
					 * These properties are added to all pages and completely override Astro's default resources, not add to them.
					 * Therefore, you must explicitly specify any default values that you want to be included.
					 */
					styleDirective?: {
						/**
						 * @name experimental.csp.styleDirective.hashes
						 * @type {CspHash[]}
						 * @default `[]`
						 * @version 5.9.0
						 * @description
						 *
						 * A list of additional hashes added to the `style-src` directive.
						 *
						 * If you have external styles that aren't generated by Astro, this configuration option allows you to provide additional hashes to be rendered. 
						 *
						 * You must provide hashes that start with `sha384-`, `sha512-` or `sha256-`. Other values will cause a validation error. These hashes are added to all pages.
						 *			   
						 * ```js
						 * import { defineConfig } from 'astro/config';
						 *
						 * export default defineConfig({
						 *   experimental: {
						 *     csp: {
						 *       styleDirective: {
						 *         hashes: [
						 *           "sha384-styleHash",
						 *           "sha512-styleHash",
						 *           "sha256-styleHash"
						 *         ]
						 *       }
						 *     }
						 *   }
						 * });
						 * ```
						 */
						hashes?: CspHash[];

						/**
						 * @name experimental.csp.styleDirective.resources
						 * @type {string[]}
						 * @default `[]`
						 * @version 5.9.0
						 * @description
						 *
						 * A list of resources applied to the `style-src` directive. These resources are added to all pages and will override Astro's defaults.
						 *