Skip to content

Commit 54e0bdd

Browse files
authored
spring-boot: fix overrideProperty api (#31814)
1 parent 0faa834 commit 54e0bdd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

generators/spring-boot/types.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ type Command = HandleCommandTypes<typeof command>;
2929

3030
export type SpringBootModule = keyof (typeof springBootDependencies)['modules'];
3131

32+
export type SpringBootProperties = keyof (typeof springBootDependencies)['properties'];
33+
3234
export type Config = Command['Config'] & JavaConfig & ServerConfig & CommonConfig;
3335

3436
export type Options = Command['Options'] & JavaOptions & ServerOptions;
@@ -91,7 +93,7 @@ export type Source = JavaSource &
9193
/**
9294
* Override a property defined in Spring Boot Dependencies POM.
9395
*/
94-
overrideProperty?({ property, value }: { property: SpringBootModule; value: string }): void;
96+
overrideProperty?({ property, value }: { property: SpringBootProperties; value: string }): void;
9597
/**
9698
* @example
9799
* addApplicationPropertiesClass({

0 commit comments

Comments
 (0)