bugfix: licenses member can also be a string array

This commit is contained in:
Rogier Schouten
2017-06-29 16:16:49 +02:00
parent 39d6470a22
commit 4e53ae9a6b
+2 -2
View File
@@ -50,9 +50,9 @@ export interface InitOpts {
*/
export interface ModuleInfo {
/**
* licenses, separated by ' OR '
* licenses, either one string or an array of multiple licenses
*/
licenses: string;
licenses: string | string[];
/**
* Repository URL
*/