11/**
22 * Browser target options
33 */
4- export interface Schema {
4+ export type Schema = {
55 /**
66 * A list of CommonJS or AMD packages that are allowed to be used without a build time
77 * warning. Use `'*'` to allow all.
@@ -178,9 +178,9 @@ export interface Schema {
178178 * TypeScript configuration for Web Worker modules.
179179 */
180180 webWorkerTsConfig ?: string ;
181- }
181+ } ;
182182export type AssetPattern = AssetPatternClass | string ;
183- export interface AssetPatternClass {
183+ export type AssetPatternClass = {
184184 /**
185185 * Allow glob patterns to follow symlink directories. This allows subdirectories of the
186186 * symlink to be searched.
@@ -202,8 +202,8 @@ export interface AssetPatternClass {
202202 * Absolute path within the output.
203203 */
204204 output ?: string ;
205- }
206- export interface Budget {
205+ } ;
206+ export type Budget = {
207207 /**
208208 * The baseline size for comparison.
209209 */
@@ -240,7 +240,7 @@ export interface Budget {
240240 * The threshold for warning relative to the baseline (min & max).
241241 */
242242 warning ?: string ;
243- }
243+ } ;
244244/**
245245 * The type of budget.
246246 */
@@ -261,10 +261,10 @@ export declare enum CrossOrigin {
261261 None = "none" ,
262262 UseCredentials = "use-credentials"
263263}
264- export interface FileReplacement {
264+ export type FileReplacement = {
265265 replace : string ;
266266 with : string ;
267- }
267+ } ;
268268/**
269269 * How to handle duplicate translations for i18n.
270270 *
@@ -279,7 +279,7 @@ export declare enum I18NTranslation {
279279 * Configures the generation of the application's HTML index.
280280 */
281281export type IndexUnion = boolean | IndexObject | string ;
282- export interface IndexObject {
282+ export type IndexObject = {
283283 /**
284284 * The path of a file to use for the application's generated HTML index.
285285 */
@@ -290,7 +290,7 @@ export interface IndexObject {
290290 */
291291 output ?: string ;
292292 [ property : string ] : any ;
293- }
293+ } ;
294294/**
295295 * The stylesheet language to use for the application's inline component styles.
296296 */
@@ -311,7 +311,7 @@ export type Localize = string[] | boolean;
311311 * https://angular.dev/reference/configs/workspace-config#optimization-configuration.
312312 */
313313export type OptimizationUnion = boolean | OptimizationClass ;
314- export interface OptimizationClass {
314+ export type OptimizationClass = {
315315 /**
316316 * Enables optimization for fonts. This option requires internet access. `HTTPS_PROXY`
317317 * environment variable can be used to specify a proxy server.
@@ -325,25 +325,25 @@ export interface OptimizationClass {
325325 * Enables optimization of the styles output.
326326 */
327327 styles ?: StylesUnion ;
328- }
328+ } ;
329329/**
330330 * Enables optimization for fonts. This option requires internet access. `HTTPS_PROXY`
331331 * environment variable can be used to specify a proxy server.
332332 */
333333export type FontsUnion = boolean | FontsClass ;
334- export interface FontsClass {
334+ export type FontsClass = {
335335 /**
336336 * Reduce render blocking requests by inlining external Google Fonts and Adobe Fonts CSS
337337 * definitions in the application's HTML index file. This option requires internet access.
338338 * `HTTPS_PROXY` environment variable can be used to specify a proxy server.
339339 */
340340 inline ?: boolean ;
341- }
341+ } ;
342342/**
343343 * Enables optimization of the styles output.
344344 */
345345export type StylesUnion = boolean | StylesClass ;
346- export interface StylesClass {
346+ export type StylesClass = {
347347 /**
348348 * Extract and inline critical CSS definitions to improve first paint time.
349349 */
@@ -353,7 +353,7 @@ export interface StylesClass {
353353 * identifiers and minimizing values.
354354 */
355355 minify ?: boolean ;
356- }
356+ } ;
357357/**
358358 * Define the output filename cache-busting hashing mode.
359359 */
@@ -368,7 +368,7 @@ export declare enum OutputHashing {
368368 */
369369export type Polyfills = string [ ] | string ;
370370export type ScriptElement = ScriptClass | string ;
371- export interface ScriptClass {
371+ export type ScriptClass = {
372372 /**
373373 * The bundle name for this extra entry point.
374374 */
@@ -381,13 +381,13 @@ export interface ScriptClass {
381381 * The file to include.
382382 */
383383 input : string ;
384- }
384+ } ;
385385/**
386386 * Output source maps for scripts and styles. For more information, see
387387 * https://angular.dev/reference/configs/workspace-config#source-map-configuration.
388388 */
389389export type SourceMapUnion = boolean | SourceMapClass ;
390- export interface SourceMapClass {
390+ export type SourceMapClass = {
391391 /**
392392 * Output source maps used for error reporting tools.
393393 */
@@ -404,18 +404,18 @@ export interface SourceMapClass {
404404 * Resolve vendor packages source maps.
405405 */
406406 vendor ?: boolean ;
407- }
407+ } ;
408408/**
409409 * Options to pass to style preprocessors.
410410 */
411- export interface StylePreprocessorOptions {
411+ export type StylePreprocessorOptions = {
412412 /**
413413 * Paths to include. Paths will be resolved to workspace root.
414414 */
415415 includePaths ?: string [ ] ;
416- }
416+ } ;
417417export type StyleElement = StyleClass | string ;
418- export interface StyleClass {
418+ export type StyleClass = {
419419 /**
420420 * The bundle name for this extra entry point.
421421 */
@@ -428,4 +428,4 @@ export interface StyleClass {
428428 * The file to include.
429429 */
430430 input : string ;
431- }
431+ } ;
0 commit comments