Skip to content

Commit 4864ed8

Browse files
committed
small fixes
1 parent 950dd5d commit 4864ed8

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

src/api.ts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ export interface PythonProject {
660660
/**
661661
* Options for creating a Python project.
662662
*/
663-
export interface PythonProjectCreatorOptions {
663+
export interface PythonProjectCreatorOptions<T extends PythonProjectCustomization = PythonProjectCustomization> {
664664
/**
665665
* The name of the Python project.
666666
*/
@@ -670,6 +670,20 @@ export interface PythonProjectCreatorOptions {
670670
* Optional path that may be provided as a root for the project.
671671
*/
672672
uri?: Uri;
673+
/**
674+
* The customization options for the Python project.
675+
*/
676+
customization?: T;
677+
}
678+
679+
/**
680+
* This is an interface allowing project creators to specify customization options required for the project creation.
681+
*/
682+
export interface PythonProjectCustomization {
683+
/**
684+
* The project creator which implements this project customization type.
685+
*/
686+
creator?: PythonProjectCreator;
673687
}
674688

675689
/**

0 commit comments

Comments
 (0)