Skip to content

Commit c4408b4

Browse files
committed
chore(nsconfig): make data optional parameter for getNsConfigDefaultContent
1 parent d84fcb0 commit c4408b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

PublicAPI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Returns the default content of "nsconfig.json" merged with the properties provid
196196
* Returns the default content of "nsconfig.json" merged with the properties provided by the "data" argument.
197197
* @param {Object} data Properties that should not be defaulted.
198198
*/
199-
getNsConfigDefaultContent(data: Object): string
199+
getNsConfigDefaultContent(data?: Object): string
200200
```
201201
202202
## extensibilityService

lib/services/project-data-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export class ProjectDataService implements IProjectDataService {
126126
}
127127

128128
@exported("projectDataService")
129-
public getNsConfigDefaultContent(data: Object): string {
129+
public getNsConfigDefaultContent(data?: Object): string {
130130
const config: INsConfig = {};
131131
Object.assign(config, data);
132132

0 commit comments

Comments
 (0)