Please specify what version of the library you are using: [ 1.2.6 ]
Please specify what version(s) of SharePoint you are targeting: [ SPO ]
If you are not using the latest release, please update and see if the issue is resolved before submitting an issue.
createCommunicationSite takes 7 params, 3 of the params which are supposed to be string are set to "" | undefined. So empty string or undefined.
Well i cant add a string to the function
try to use the function and adding a string into the last 3 fields
That is my bad indeed.
It has however been fixed in PR 380. You will to have wait for the next release 1.2.7 for the fix. Meanwhile you can create it with the first 4 parameters.
The next release is scheduled for this Friday, Dec 7.
Going to close this one as it is already fixed. Thanks @gautamdsheth for getting the fix in and @KieranDaviesV for letting us know.
Most helpful comment
The next release is scheduled for this Friday, Dec 7.